![]() |
Apache not visible from external box - Printable Version +- Linux-Noob Forums (https://www.linux-noob.com/forums) +-- Forum: Linux Server Administration (https://www.linux-noob.com/forums/forum-8.html) +--- Forum: LAMP (https://www.linux-noob.com/forums/forum-83.html) +--- Thread: Apache not visible from external box (/thread-1120.html) |
Apache not visible from external box - smlefo - 2007-10-27 Hi, I have two boxes. My main one is Windows XP, and is connected to the internet. My second box is CentOS 5, and is connected directly to my XP box via a crossover cable. It took some work to get XP and CentOS to talk to each other, but now they are actually communicating. I do NOT want a website posted to the public... I just want to be able to access it from my XP box. My linux boxes IP is 192.168.0.245, and I can successfully PuTTy into it from my XP machine. So I know the connection is good to go. I updated my httpd.conf file with the 192.168.0.245, and have the service up and running. I can connect to httpd locally via "telnet localhost 80" no problem. It works. The problem is I can't connect to it from my XP box. I try http://192.168.0.245 in my browser, but that doesn't work. I've tried all sorts of things... after all that's said and done, I think it must be a firewall issue. Maybe not though. I've tried changing the httpd port to 7000, 8000, etc, and it still doesn't work. I tried disabling SELinux, and it still doesn't work (although maybe I disabled it incorrectly?). Right now I'm running it on port 8000 with no luck. Here is some output that might get people started: Code: [root@bleedbox /]# ps aux | grep httpd Any help would be appreciated. -smlefo Apache not visible from external box - big2all - 2007-11-04 0.first make httpd to listen on port 80 . so change apache port to 80. restart httpd service 1. stop iptables on your linux box. do in shell : service iptables stop , if it is redhat box 2.ping 192.168.0.254 result should not any have "100% packt lose" message 2.from windows xp box - got o dos shell ( cmd) and do telnet 192.168.0.245 80 it should respond , if it shows like time out - unable to connect then some problem with network. 3.in linux box type netstat -a so paste all of above details ... lets see -Rav |