Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using Glassfish v3 to develop couple of servlets. For testing the servlets the localhost:8080/MyServlet is working fine. But whenever I am using IP instead of localhost, its returning an error, saying:

Oops! Google Chrome could not connect to

The address in the Glassfish is already set to I even tried changing the to my IP but the Glassfish is not starting saying the port is not empty.

It was not a problem with XAMMP while I used it for PHP development.

I am using Windows 7.

share|improve this question
Check to make sure something else isn't already listening on port 8080. Also, if you are behind NAT, you have to use the local network address, not the public address, from inside the network. (Unless your router supports hairpin NAT and is configured to forward that way.) – David Schwartz Mar 25 '12 at 23:20
There is nothing else listening on 8080. But I think it is a problem with my NAT. I will contact my network admin. – Debopam Mar 26 '12 at 11:01

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.