How can I use my own, external IP instead of localhost with Glassfish?
Posted
by
Debopam
on Super User
See other posts from Super User
or by Debopam
Published on 2012-03-25T21:45:46Z
Indexed on
2012/03/25
23:34 UTC
Read the original article
Hit count: 197
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.
© Super User or respective owner