Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 xxx.xx.xx.xxx:8080.

The address in the Glassfish is already set to 0.0.0.0. I even tried changing the 0.0.0.0 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

 
discard

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

Browse other questions tagged or ask your own question.