cannot conect to ftp or http on server. HELP!
I'm pretty new to linux, and I have just been able to set up an server at home(using an old P200 computer). The ftp ond http works fine on the server but i can't connect to the server from an other computer in my network. Why? just ask if you need more info about my system...
|
If I understand correctly, you are able to connect to ftp/http from the linux box itself?
If so, read the manual for hosts.allow and edit /etc/hosts.allow and /etc/hosts.deny if necessary. Also check if you are not running a firewall by running iptables -L (for kernels 2.4.x) or ipchains -L (for kernels 2.2.x). Post the output here if you don't know what to do with it. Oh, and I almost forgot: what kind of message do you get when you try to connect? Simply connection refused or something else? |
Thanks for the reply.
Yes I'm able to connect to ftp and http from the server, but not outside. I'l check out the config files. Don't think I have any firewall because when I installed RH7.2 I choosed to not install a firewall.... |
When I trie to ping the server I get no reply why? and I know my LAN cards are working....
|
Try to ping a computer from your server.
|
Can't do that either hanzerik. But when I trye to ping the server from a windows machine I get this error msg:
"Destination host unreachable" Why? |
There can be many reasons, from hardware problems (nics, cables etc) to software ones(is your nic conifigured? use ifconfig and see if there's 'eth0', if not use ifconfig eth0 your_ip_here)
|
Never mind the qustion. I solved it my self. I set the IP's my self and they where 192.168.0.1-4 but then I changed them to 192.168.1.1-4 and then it worked, Why did it work with ..1. and not ..0.?
|
Hmm, maybe there was a simple, small thing wrong and when reconfiguring you set it right?
|
All times are GMT -5. The time now is 02:28 AM. |