Re: newbie Q: making two computers communicate over a router connection

From: Joel Smith (
Date: 07/01/03

Date: 01 Jul 2003 10:16:18 -0400

when i tried arping <inet address of the other computer>. it
complained about a missing socket. so basically i couldn't even get
past the first task because i don't understand where to get the server
ip. in fact i think i'm way over my head, but that hasn't stopped me

i have two redhat 8 workstations. both have a nic connected to a
router that picks up the dynamic ip via dhcp from the DSL modem, i.e

     computer 1 <---- router ----> computer 2
                    dsl modem
                   phone line
both computers can surf the net, but i'd like them to talk to each

my questions are

1. where do i find the server ip?

2. does the redhat workstation installation come with the ability to
run a ftp, telnet and other servers? or do i need to choose the
server installation?

3. does linux set up a local network on each computer? or do all the
computers connected to the router work on the same local network?

any response greatly appreciated. thank you for your patience. at
this point i'm not hoping to make this work the way i want to, i'd
just like to learn a thing or two and maybe find a reference that
would increment my knowledge one bit at a time.

"Nick Austin" <> writes:

> If you have two computers on the same segment, in the same IP range, then
> they do not need a router to communicate.
> The "connection refused" message most likely means that your ftp server is
> not running, or you have a firewall blocking access.
> First you should try doing an 'arping <server ip>' and see if you get a
> response. If you do not get a response to this, the boxes are not really
> on the same segment, or you have other more serious connectivity
> problems.... This needs to be resolved before you can do anything cleaver
> on the TCP layer.
> Next, try running ftp on the server, if you get a connection refused
> there, then there is no ftp server running. If the ftp to works,
> then you probably have a firewall in place.
> Try typing 'iptables -F', and 'ipchains -F' to disable your firewall.
> If all else fails, then post a followup question to the news groups... :)
> Good luck.
> On Mon, 30 Jun 2003 09:53:32 -0400, Joel Smith wrote:
> >
> > i have two (or more) computers connected to the internet with a router. i
> > want to be able to ftp, telnet, etc. between the two computers over the
> > router connection. is there a simple way to do this? or is there a
> > document out there that addresses this (simple?) question?
> >
> > looking at netstat and ifconfig dumps out the mask, local address etc. but
> > my naive attempt to ftp between the computers, i.e.
> >
> > ftp 192....0.1
> >
> > yields something like connection refused. any suggestions?
> >
> > any help would be greatly appreciated.

Relevant Pages

  • Re: FTP question
    ... |> I have one server that has had connectivity issues this past week ... |> directed at trying yet another ftp software. ... |> or an error about the socket connection. ... |> own modem and a Linksey router using Xp 64bit system. ...
  • Re: Intermittent connection problem with Windows Server
    ... With those shares on the server there probably is ... workstations) involved that is being counted towards a connection limit. ... I realize I need to upgrade those computers if I set up the domain but I ... I am running into an ocassional error message (showing up on ...
  • [Full-disclosure] PlatinumFTP 1.0.18 remote DoS
    ... PlatinumFTPserver simplifies management of all your Ftp clients with ... PlatinumFTP 1.0.18 server. ... remote server has closed connection ... Second Bug: ...
  • Re: Demand-dial Interface and/or new Broadband connection?
    ... Is your server a domain controller?? ... connect a hub or switch to the lan port to plug your other computers into. ... you are not indicating that you are using those network IP's?? ... > table is created automatically when connection is established): ...
  • PlatinumFTP 1.0.18 remote DoS
    ... PlatinumFTPserver simplifies management of all your Ftp clients with ... PlatinumFTP 1.0.18 server. ... remote server has closed connection ... Second Bug: ...