TCP connection refused

From: Bonj (a_at_b.com)
Date: 02/26/05


Date: Sat, 26 Feb 2005 00:49:07 -0000

Hello
I wonder if anybody can help me..
I have got two linux machines, both running fedora core 2, and a windows
machine (running XP) - I have built a TCP client and server for linux (and
one for windows), these all work fine when connecting to localhost -
however they can't seem to connect to each other - the connet() call always
errors with "connection refused" - *both* when trying to do it from windows
to linux (linux running the server), *and* linux to linux (linux running the
server and the client).

Everything else network related works - the windows machine can see the
linux files via the samba server and vice versa, and the windows web browser
can see the linux box's web server's apache home page, and the linux
machines can both see each other's files, and browse to each other's web
servers.
It's just my own TCP programs that always seem to refuse to connect. It's
always "Connection refused". I'm stumped as to what I can do, because the
programs work fine when connecting to localhost / 127.0.0.1 - just not to
each other.

Any ideas?



Relevant Pages

  • Re: Question about Red Hat Linux Enterprise
    ... we have is running Windows 2000 Server ... Luckily running Apache + MySQL on a Linux system is not a lot ... MySQL database and injecting it back into the MySQL installation ...
    (comp.os.linux.networking)
  • Re: Sweet Success
    ... Let's continue to assume that I prefer Windows to anything else: ... neither Linux nor Windows may be the answer. ... While it may well be initially less expensive to install a Linux-based ... of Linux simultaneously, along with Windows Server, AIX, and OS/400. ...
    (RedHat)
  • Re: [Full-disclosure] 70 million computers are using Windows 98 right now
    ... Linux is definitely not a natural migration pathway. ... Windows 2000, Windows XP, and Mac OS X seem to work pretty ... > desktop to server. ... But then the persons across the sea just can't install ...
    (Full-Disclosure)
  • Re: Need tutorials, guides... However...
    ... performance loss you'll get from an OS like Windows or Linux. ... machines out there have gone off in many different directions. ... expect to find certain hardware at certain addressess. ...
    (alt.lang.asm)
  • Re: M$ attack on Common Sense
    ... > (Note that not all Unix virii can effect Linux and vice versa, ... > virii, if you don't run Windows, you don't need to be doing that, now do ... Compare machines AND take into consideration what they are for. ... Install means changing the system so the program will run. ...
    (comp.os.linux.misc)