Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: Ric Werme <werme@mediaone.net>
Subject: Re: Cant connect to tcp port
Date: Wed, 16 May 2001 22:57:58 GMT	[thread overview]
Message-ID: <WBDM6.42$5X4.72043@typhoon.ne.mediaone.net> (raw)
In-Reply-To: 3aff169c$1@news.nz.asiaonline.net

"Simon O'Malley" <simono@genaware.com> writes:

>Hows it going

Goes fine for me.

>Have a problem on 4.0f where software we have written opens a port and waits
>for requests.
>On most 4.0f machines it runs fine, but on one machine the ports open but
>nothing can connect to them.
>netstat -a gives the port is open and listening but nothing can connect.

Well, you haven't given us much to work with.  No code, no good definition
of nothing, and just a hint of what netstat says.  And no tcpdump trace.

Does nothing include telnet?  Try "telnet <server> <port #>".  If that
works, you probably aren't swapping bytes with htons() for the port
number or with htonl() for the IP address if you aren't using
gethostbyname(3).  Try changing your application to use port 0x1111,
You can't foul up that byte order.

And, of course, you didn't bring the obligatory tcpdump trace.  See the
Tru64 Unix FAQ for configuration and usage directions.

--
Ric Werme                            | werme@nospam.mediaone.net
http://people.ne.mediaone.net/werme  |       ^^^^^^^ delete


  reply	other threads:[~2001-05-16 22:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-13 23:19 Cant connect to tcp port Simon O'Malley
2001-05-16 22:57 ` Ric Werme [this message]
2001-05-17  3:41   ` Simon O'Malley
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox