Solved

Connection Time out errors

Posted on 2003-11-15
5
328 Views
Last Modified: 2010-03-18
webserver: apache on Redhat linux 8.0
router: speedstreem 2602--192.168.254.200
my domain: lewtoday.com
dsl provider: verizon
my website is: www.lewtoday.com
but since port 80 is blocked i am using port 8080.
router: speedstream 26o2

I have zoneedit forward lewtoday.com and www.lewtoday.com to www4.lewtoday.com:8080
Apache appears to be working fine. When I type in the LAN ip 192.168.254.130:8080 my webpage appears.

my wan ip is 141.157.20.240
my lan ip (which is static) 192.168.254.130

But when I type in the WAN IP or www.lewtoday.com I get a blank screen and eventually a request has timed out error or the page cannot be displayed.
What the am i doing wrong????
I've reinstalled RH 8.0 out of frustration, thinking maybe I did something wrong to a config file, but even with the system reinstalled things still won't work.

0
Comment
Question by:lynn402
  • 3
  • 2
5 Comments
 
LVL 40

Expert Comment

by:jlevie
ID: 9754376
Your router must be configured to accept connections on 8080/TCP and forward those to 192.168.254.130. And Apache must be configured to listen on port 8080 rather than the defualt (80/TCP).

You won't be able to connection to the Internet IP of your web server from a machine on your local LAN. For those machines you must use the inside IP of the web server. Testing of external access to your web server must be done from some host on the Internet. If the defualt firewall is running on your Linux system it must be configured to allow connections on 8080/TCP.
0
 

Author Comment

by:lynn402
ID: 9755028
I've already set  apache and my router to accept http requests from port 8080. I've just set the linux firewall to accept port 8080. I don't know if it took. I typed, from the command, setup and did customize to the firewall, typing in 8080.

When I checked out the firewall file in in /etc/sysconfig/firewall I see:

Global ICMP all input ACCEPT forward ACCEPT output ACCEPT

here is my site www.lewtoday.com. Tell me if anything shows up
0
 
LVL 40

Expert Comment

by:jlevie
ID: 9756724
Nope, it doesn't seem to be working from the Internet. Since you have a border firewall (your router) I'd suggest turning off the RedHat firewall ('service iptables stop' & 'chkconfig iptables off') until you have all of the other issues sorted out. After you have the firewall off make sure that the router is configured to accept and forward traffic on 8080/TCP to 192.168.254.130
0
 

Author Comment

by:lynn402
ID: 9757156
this is how my speedstream 2602 virtual server is setup:

private ip:192.168.254.130
private port: 8080
publc port: 8080

in apache's config file i have: listen 192.168.254.130:8080

When I reinstalled RH 8 last week, hoping that a reinstall would be the cure, I disabled the firewall. Further when I checked the anaconda-ks.cfg file it verified that the firewall is disabled.
I ran the commands you listed above, too.
0
 
LVL 40

Accepted Solution

by:
jlevie earned 250 total points
ID: 9757577
It is working now. I get the Apache test page when I got to the IP or www.lewtoday.com.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
ACK Attack 5 57
how does facebook / twitter store data? 3 113
Centos Rescue and NFS Share 4 61
ESXi NTP client time synch is not working 3 54
I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now