Hi all,
i wrote a web app and diployed it on my tomcat server, my problem is
that i can access my app only wheni i use "localhost:8090\appName" and
not when i use "myIP:8090\appName" can someone please tell me why
Dundonald - 13 Nov 2007 11:32 GMT
On 13 Nov, 11:23, kanto...@gmail.com wrote:
> Hi all,
> i wrote a web app and diployed it on my tomcat server, my problem is
> that i can access my app only wheni i use "localhost:8090\appName" and
> not when i use "myIP:8090\appName" can someone please tell me why
You're using the wrong IP guaranteed.
Local host usually translates to 127.0.0.1. Try that.
Gordon Beaton - 13 Nov 2007 11:40 GMT
> i wrote a web app and diployed it on my tomcat server, my problem is
> that i can access my app only wheni i use "localhost:8090\appName"
> and not when i use "myIP:8090\appName" can someone please tell me
> why
Tell Tomcat to listen on all interfaces, not just localhost. Typically
that means that you should only specify the port number and no
hostname or host address.
Additionally, make sure that your host is correctly configured so that
localhost maps to the local address (127.0.0.1) and any other names
your host is known by map to the corresponding external addresses.
/gordon
--