[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 374
  • Last Modified:

Connection Time out errors

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
lynn402
Asked:
lynn402
  • 3
  • 2
1 Solution
 
jlevieCommented:
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
 
lynn402Author Commented:
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
 
jlevieCommented:
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
 
lynn402Author Commented:
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
 
jlevieCommented:
It is working now. I get the Apache test page when I got to the IP or www.lewtoday.com.
0

Featured Post

NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now