How can I use my own, external IP instead of localhost with Glassfish?
- by Debopam
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.