Remote access with IP address

5 pts.
Tags:
Eclipse
JBoss
Localhost
Web application deployment
Web development
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.

Answer Wiki

Thanks. We'll let you know when a new response is added.

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).

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following