hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Web Hosting : site accessible using localhost but not using machine ip
Reply

Web Hosting Discussions on all aspects of web hosting including past experiences (both negative and positive), choosing a host, questions and answers, and other related subjects. If your service is unavailable, please click here.
Forum Jump

site accessible using localhost but not using machine ip

Reply Post New Thread In Web Hosting Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 10-10-2011, 02:29 AM
mkokadwar mkokadwar is offline
Newbie
 
Join Date: Sep 2011
Posts: 6

site accessible using localhost but not using machine ip


Hi,

I have a windows VPS and installed tomcat with an application on its root folder.

From the VPS itself, If I access the application using localhost:8080 it gets displayed in the browser properly. But if I put the ip address like 74.xxx.xxx.xxx:8080, browser throws connection timeout error.

From my local machine as well, it displays the same error. Interestingly if I ping the ip address from my local machine, it replies.

What could be the error? Do I need to configure the ip somewhere on the VPS so that it points to the tomcat root application (localhost:8080)?

Thanks in advance

Reply With Quote


Sponsored Links
  #2  
Old 10-10-2011, 02:32 AM
lynxus lynxus is offline
Lord of live chats
 
Join Date: Jul 2009
Location: UK
Posts: 1,224
Check your firewall ?
Id also check my webserver config and ensure that it is bound to my ip address?
IE: LISTEN 100.200.100.200 8080

Then id check my vservers, ensure that my virtual servers have mydomain in them?

__________________
Live support chat software -> IMsupporting.com
█ Talk to your visitors in real time, Increase sales.

Reply With Quote
  #3  
Old 10-10-2011, 02:36 AM
Askforhost-AJ Askforhost-AJ is online now
Love Hardware,s
 
Join Date: Jul 2011
Posts: 1,877
Firewall is causing problem i think

__________________
Askforhost.com
Shared Hosting, Reseller Hosting, Domain Registration,
Florida, Dallas (USA), Maidstone Kent (UK) Servers | Daily Auto Backup | 24x7 Instant Support | Softaculous
Follow me @ Twitter - Askforhost | Facebook.com/Askforhostcom | Skype: ahtsham.jutt

Reply With Quote
Sponsored Links
  #4  
Old 10-10-2011, 02:37 AM
Ashley Merrick Ashley Merrick is offline
Web Hosting Master
 
Join Date: Mar 2007
Location: UK
Posts: 747
Never used tomcat, however sounds like tomcat config is set to bind to localhost instead of a certain ip or all connections to that port.

For example like in httpd.conf

Listen 127.0.0.1:80
vs
Listen *:80

Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
I cannot access my site from my place but its accessible by others chakru Web Hosting 7 09-19-2010 06:33 AM
Site not accessible to one group of visitors num85 Hosting Security and Technology 7 12-22-2007 04:53 PM
Don't want my site to be accessible from certain countries alosito Web Hosting 15 10-15-2005 02:04 PM
Using accessible features for non-accessible purposes Maxine Web Design and Content 3 01-14-2005 09:33 AM
Site accessible from some places, not from others. New DNS problem? burst9 Hosting Security and Technology 3 08-12-2003 04:50 PM

Related posts from TheWhir.com
Title Type Date Posted
unbelievable Machine Company Launches OnApp-Based Cloud Services Web Hosting News 2012-05-29 15:56:17
Website usability – 10 tips for getting it right Blog 2012-04-27 14:11:03
WHIR Demo: CodeGuard Whir Tv 2012-02-13 11:12:15
Web Host eApps Offers Control Panel ISPmanager for Free Web Hosting News 2011-12-07 21:48:20
goMobi Offers Dutch Version of Mobile Site Creator Service Web Hosting News 2011-10-13 16:13:43


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?