Java EE app not working when accessed with the IP address
Ransika deSilva
Ranch Hand
Joined: Feb 18, 2003
Posts: 524
posted
0
Hi all, I bought a dedicated server and deployed the Java Enterprise application which I created with netbeans. Through the servers web browser if I access the Java EE app, http://localhost.... like wise, it perfectly works. But when I try to access the site from a remote web browser with the IP address (static) it doesn't work. Any idea why? I am very new to this deployment scenarios. Thanking you and regards
SCJP 1.4, SCMAD 1.0<br />SCWCD, SCBCD (in progress)
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35241
7
posted
0
What does "it doesn't work" mean? What exactly is or is not happening? Are there any exceptions in the log files?
Some servers (e.g. Tomcat) by default only allow access from localhost; you need to configure it to access it from other IPs.
The problem is when I try to access the application with the IP address from a different machine (not the server), I get a "Connection has time out". I have ADSL line and when I access the administrator console with the IP address and port 4848 from a different (not the server) machine, the page gets loaded. I am clueless to give you more details. But appreciate if you can help me out on this.