The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > Linux
Google UNIX.COM


Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Solaris or freebsd for webserver gzero UNIX for Dummies Questions & Answers 1 04-11-2007 02:47 AM
telnet Webserver GET / sparcguy SUN Solaris 4 03-31-2007 07:11 AM
webserver login fsmadi SUN Solaris 2 03-15-2007 08:40 AM
apache webserver jo calamine UNIX for Advanced & Expert Users 2 11-14-2006 02:57 PM
Webserver Setup, need help! hype.it OS X (Apple) 1 06-23-2004 12:42 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 06-30-2005
Registered User
 

Join Date: Jun 2005
Location: St. Louis, MO
Posts: 32
Cannot connect to webserver

Hello All,

I need some help as to how to debug the problem I am having with my webserver. I am using Suse 9.2 pro as my server. I have setup my firewall and router to forward http 80 request to my linux server.

I tried pinging my server from work - it worked.
I tried running localhost from linux server and other PC connected to the router, it work.

But when I tried to access it thru browser, I just get an error that connection timed out.

Please advised.

Thanks!

Joseph
Reply With Quote
Forum Sponsor
  #2  
Old 07-01-2005
Registered User
 

Join Date: Oct 2002
Posts: 676
Many ISP's block incoming port 80. I would set up the webserver listener on a different port.

You can access it like so (if you set your webserver to listen on port 8200):

http://yourwebsite.com:8200


Caveat:
Many workplace firewalls will not let you access non-standard http ports, so you may be blocked from work.

Last edited by dangral; 07-01-2005 at 07:56 AM. Reason: grammatical fix
Reply With Quote
  #3  
Old 07-05-2005
Registered User
 

Join Date: Jul 2005
Posts: 1
Quote:
Originally Posted by negixx
Hello All,

I need some help as to how to debug the problem I am having with my webserver. I am using Suse 9.2 pro as my server. I have setup my firewall and router to forward http 80 request to my linux server.

I tried pinging my server from work - it worked.
I tried running localhost from linux server and other PC connected to the router, it work.

But when I tried to access it thru browser, I just get an error that connection timed out.

Please advised.

Thanks!

Joseph

dear friend
you shoul configure your httpd server in your server and squid cache server
Moamar ishtayyeh
Reply With Quote
  #4  
Old 07-07-2005
Registered User
 

Join Date: Jun 2005
Location: St. Louis, MO
Posts: 32
thanks, I tried it already but it didn't work.

Here's my setup :

DSL IP say 68.55.234.64
|
V
DSL Modem/Router : 178.68.3.14 (firewall is open to allow HTTP)
*** Allow HTTP service for device 178.68.3.5 (netgear router)
|
V
Netgear Router using it as DHCP - 168.92.0.1(port forwarding for HTTP service 80)
DNS server is 178.68.3.14
*** port forwarding HTTP service port 80 80 to 168.92.0.2
|
V
Connected to routers are PCs with the following ip addresses
Linux for webserver - 168.92.0.2 - port 80 is open for webserver, HTTP services are enabled, firewalled. Host name is Megatron
WinXP - 168.92.0.3 - firewalled

If try to do the following, from inside the network, any PCs, I get the following :
1. megatron – I get my webserver welcome page.
2. 168.92.0.2:80 – I get my webserver welcome page
3. 68.55.234.64:80 – connection timeout

I tried doing a telnet 168.92.0.2 80, and I get response from my webserver.

If I try to the same thing from a remote computer, I get connection timeout.

I can ping 68.55.234.64 ok.

Where could be the problem? Is it possible that my routers are not forwarding any http requests?


Please advise.

Thanks!
Reply With Quote
  #5  
Old 07-07-2005
Registered User
 

Join Date: Oct 2002
Posts: 676
Did you do what I suggested above regarding changing to a different port that is not 80 and not 8080?
Reply With Quote
  #6  
Old 07-13-2005
Registered User
 

Join Date: Jun 2005
Location: St. Louis, MO
Posts: 32
dangral,

I tried chnging it to 8080, 808, etc but still does not work.

I get, connection refused.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Tags
linux

Thread Tools
Display Modes




All times are GMT -7. The time now is 11:17 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0