LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-27-2002, 10:37 AM   #1
ReSync
Member
 
Registered: Jun 2002
Distribution: RedHat 7.2
Posts: 46

Rep: Reputation: 15
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...
 
Old 06-27-2002, 10:58 AM   #2
Griffon26
Member
 
Registered: Sep 2001
Location: The Netherlands
Distribution: Gentoo, Debian, Mandrake, LFS
Posts: 182

Rep: Reputation: 30
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?

Last edited by Griffon26; 06-27-2002 at 11:00 AM.
 
Old 06-27-2002, 11:02 AM   #3
ReSync
Member
 
Registered: Jun 2002
Distribution: RedHat 7.2
Posts: 46

Original Poster
Rep: Reputation: 15
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....
 
Old 06-27-2002, 11:36 AM   #4
ReSync
Member
 
Registered: Jun 2002
Distribution: RedHat 7.2
Posts: 46

Original Poster
Rep: Reputation: 15
When I trie to ping the server I get no reply why? and I know my LAN cards are working....
 
Old 06-27-2002, 03:05 PM   #5
hanzerik
Member
 
Registered: Jan 2002
Location: Cheyenne Wyoming
Distribution: Debian/Raspbian/Mint
Posts: 717

Rep: Reputation: 32
Try to ping a computer from your server.
 
Old 06-27-2002, 03:48 PM   #6
ReSync
Member
 
Registered: Jun 2002
Distribution: RedHat 7.2
Posts: 46

Original Poster
Rep: Reputation: 15
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?
 
Old 06-27-2002, 04:35 PM   #7
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
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)
 
Old 06-29-2002, 05:57 AM   #8
ReSync
Member
 
Registered: Jun 2002
Distribution: RedHat 7.2
Posts: 46

Original Poster
Rep: Reputation: 15
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.?
 
Old 06-29-2002, 03:44 PM   #9
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Hmm, maybe there was a simple, small thing wrong and when reconfiguring you set it right?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HTTP and FTP server setup FC3 Mirag3 Fedora 2 08-16-2005 10:45 PM
need yum.conf with http server not ftp Boby Fedora 5 05-04-2004 07:12 AM
need yum.conf with http-server not ftp Boby Linux - Networking 0 04-27-2004 09:29 PM
HTTP/FTP server on Virtual PC colelinux Linux - Networking 0 11-14-2003 10:11 AM
script for http, email, and ftp server cblank Linux - Networking 0 08-09-2001 10:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration