Remote access with IP address
5 pts.
0
Q:
Remote access with IP address
I have a web application on jboss 4.2. When i access it using my ip addr instead of localhost it shows page not found.
http://localhost:8080/MovieGalaxy/index.html? This link works but
http://SOMENUMBER:8080/MovieGalaxy/index.html? DOESN'T
I am using eclipse ganymede 3.4 on windows XP. Is this error due to jndi naming of server in eclipse.
ASKED: Aug 26 2008  6:21 AM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
105 pts.
0
A:
 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0
  • AddThis Social Bookmark Button
Are you sure the website is being published on the IP address that you think it is? Are there other IP addresses on this machine?

What do you get if you type in http://127.0.0.1:8080/MovieGalaxy/index.html?

Most probably this is caused by the fact that JBoss (somewhere after 4.0.5) does by default bind only to local network interface (localhost). To make it bind also to other network interfaces you must use the -b command line parameter when starting JBoss (maybe that can also be done by editing some XML, too, but I haven't used that).
Last Answered: Sep 15 2009  11:09 AM GMT by Zagrim   105 pts.
Latest Contributors: Surfdoggie   75 pts., Labnuke99   26290 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



0