Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / April 2007

Tip: Looking for answers? Try searching our database.

Not able to access the webapp using IP address

Thread view: 
Venugopal - 18 Apr 2007 09:50 GMT
Hi,

I am running a servlet deployed on JBoss running on 8080.

I am able to access the servlet on my local machine using
http://localhost:8080/myapp

But the moment I try to connect to the servlet using http://192.168.157.17:8080/myapp,
i get network error.

Tried adding the IP map to the localhost by modifying the hosts file
at WINDOWS/system32/drivers/etc , but no use.

Can anyone help ?

Thanks in advance,

Venugopal
shaoanqing@gmail.com - 18 Apr 2007 10:36 GMT
> Hi,
>
[quoted text clipped - 13 lines]
>
> Venugopal

you should remove set of proxy
Nigel Wade - 18 Apr 2007 13:50 GMT
> Hi,
>
[quoted text clipped - 5 lines]
> But the moment I try to connect to the servlet using http://192.168.157.17:8080/myapp,
> i get network error.

Localhost refers to the loopback interface (127.0.0.1), whereas 192.168.157.17
address refers to the network interface.

Is the servlet container listening on the network interface or just the
loopback? Check with whatever networking tools your OS provides (netstat?).

If you have a firewall it could be blocking port 8080 on the network interface,
but allowing all connections on loopback.

Signature

Nigel Wade, System Administrator, Space Plasma Physics Group,
           University of Leicester, Leicester, LE1 7RH, UK
E-mail :    nmw@ion.le.ac.uk
Phone :     +44 (0)116 2523548, Fax : +44 (0)116 2523555



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.