Cannot connect to webserver


 
Thread Tools Search this Thread
Operating Systems Linux SuSE Cannot connect to webserver
# 1  
Old 06-30-2005
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
# 2  
Old 07-01-2005
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 12:56 PM.. Reason: grammatical fix
# 3  
Old 07-05-2005
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
# 4  
Old 07-07-2005
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!
# 5  
Old 07-07-2005
Did you do what I suggested above regarding changing to a different port that is not 80 and not 8080?
# 6  
Old 07-13-2005
dangral,

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

I get, connection refused.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Connect direct - SFTP - List of servers that I can connect

Greetings Experts, I am working for a bank client and have a question on connect-direct and SFTP. We are using Linux RedHat servers. We use connect-direct to transfer (NDM) files from one server to another server. At times, we manually transfer the files using SFTP from one server to another... (2 Replies)
Discussion started by: chill3chee
2 Replies

2. Emergency UNIX and Linux Support

Netcat ( nc -l ) as webserver

Dear Linux guru's I am trying to create a webserver using nc (netcat only) on RHEL 7.2 running on bash shell. now the easy thing is to get nc listing to a port and respond back $ while true; do { echo -e 'HTTP/1.0 200 OK\r\n'; set; } | nc -l 7877; done This when called from a... (3 Replies)
Discussion started by: chakrapani
3 Replies

3. Cybersecurity

When i start CSF i cant connect VPS or download any data into it It appears i cant connect Linux VP?

It appears i cant connect linux VPS server via SSH or i cant SCP any file to it and i cant wget any file TO it (from inside it) while CSF (Config Server Firewall, LFD is running. Just after isntall in default configuration and after changing TESTING mode to LIVE mode. Trying to wget & install... (1 Reply)
Discussion started by: postcd
1 Replies

4. AIX

AIX Remote Connect Fail With “No more multiple IP addresses to connect” Error

We have a production server at a client site running AIX. And recently when users are trying to connect to it via telnet, it prompts "No more multiple IP addresses to connect". Can I know what does this error mean? and how to rectify this? Thanks. (2 Replies)
Discussion started by: a_sim
2 Replies

5. Shell Programming and Scripting

PHP webserver vs AJAX

Hello All I want to develop a news ticker using a PHP webserver instead of polling the RSS feed using AJAX. Let me know if you guys have any idea about this. (0 Replies)
Discussion started by: suvendu4urs
0 Replies

6. UNIX for Dummies Questions & Answers

Solaris or freebsd for webserver

I am setting up a web server and mail server on a dell poweredge with a P4 2.7 Ghz and 512mb or ram. I am new to unix and i am wondering if you guys would recomend me installing solaris 10 or use freebsd.. Anythoughts would be great Thanks Travis (1 Reply)
Discussion started by: gzero
1 Replies

7. Solaris

telnet Webserver GET /

I want to incorporate this in a script for some simple monitoring for my webserver telnet localhost 80 GET /opencms/opencms/test/index.html how to do it? I tried echo "GET /opencms/opencms/test/index.html" | telnet localhost 80 I tried telnet localhost 80 << EOF echo "GET... (4 Replies)
Discussion started by: sparcguy
4 Replies

8. Solaris

webserver login

how can I get statistics and web analysis for solaris 10 webserver access? what is the file? and what is the tools to analyze it? thanx (2 Replies)
Discussion started by: fsmadi
2 Replies

9. UNIX for Advanced & Expert Users

apache webserver

Can I set up an apache webserver on Mandriva? Looking for the easiest webserver program to install basic webserver just for home use. Any ideas/suggestions much appreciated..... (2 Replies)
Discussion started by: jo calamine
2 Replies

10. OS X (Apple)

Webserver Setup, need help!

Hey guys, does anyone know how I edit, configure the server settings using the terminal? MySQL and PHP was once working. But after frying the Xserve G5 i'm in the middle of rebuilding everything, I believe i need to re-configure the root document directory... but have forgotten how to edit... (1 Reply)
Discussion started by: hype.it
1 Replies
Login or Register to Ask a Question