View Full Version : basic network troubleshooting
newFC4user
2005-06-26, 09:28 AM CDT
I just set up my server with FC4, I'm using DynDns to manage my dynamic ip. I fowarded my ports on my router to the server and set the server to static ip 192.168.1.2.
Before i set up the server i could go to firefox and surf the web NOW that I have changed the setting to static ip i can't surf the web firefox says can't access that site BUT i can serve webpages out to the net
what would cause me to be able to serve web pages but not access external webpages?
Thanks
PS Newbie here dumb it down for me please
newFC4user
2005-06-26, 01:01 PM CDT
i just realized can view the web pages on my windows box running on the same router as my server but if some one outside of my network tryies to view the page they can't
why is my eth0 not working?
some one please help
newFC4user
2005-06-26, 01:01 PM CDT
the card is initailized
fsck
2005-06-26, 01:06 PM CDT
Sounds like you accidentally set the router to forward OUTBOUND traffic on port 80 to the host at 192.168.1.2 instead of INBOUND?
newFC4user
2005-06-26, 04:24 PM CDT
i can't see how
its a linksys router
i just went to applications and gaming and forwarded 80 to 80 and hit enable
kg4cbk
2005-06-26, 04:52 PM CDT
Most likely what happened is that your /etc/resolv.conf file does not have DNS servers listed. When you used DHCP to assign your addressing this was done for you. But now that you have a static IP address you must set /etc/resolv.conf manually.
The fact that you can serve pages externally means your default route is correct so that is not the problem. Examine your /etc/resolv.conf and fill in the nameservers your ISP uses.
pparks1
2005-06-26, 06:03 PM CDT
newFC4user,
With the linksys you couldn't have done much wrong. You did put in port 80 and then indicate the IP address of 192.168.1.2 to actually forward too, right?
Do you have an iptable firewall rule in place blocking the traffic? you can check easily by running, service iptables stop and then trying to hit your page again.
It's also possible that you ISP is blocking inbound port 80. If this is the case, you aren't going to be able to serve up pages on the default port. Might have to change the listening port in your httpd.conf file and then restart apache (service httpd restart).
Let me know if any of these things worked for ya!
newFC4user
2005-06-27, 10:14 AM CDT
i swear this linux box is going out the window in about 2 seconds
i can't get it to network
i can't see my Windows laptop (thats on the same router)
I cant get an ip to surf the web
I can't get my html pages on the web
bout all i can do is see my webpages from the laptop when i input the static ip
kg4cbk
2005-06-27, 12:56 PM CDT
Did you read any of the messages above? If you can view pages on other systems on your LAN by inputing the IP address your network card is working. The problem you are having is the nameservers listed in /etc/resolv.conf.
You do not post required information to trouble shoot the problem.
Based on your first message when you set a static IP address you probably did not set up the entries in /etc/resolv.conf. Set that up correctly and it will most likely work just fine.
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.