From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,bb91177990a570db X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-05-16 15:58:00 PST Path: archiver1.sj.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed2.news.rcn.net!rcn!chnws02.mediaone.net!chnws06.ne.mediaone.net!24.128.8.70!typhoon.ne.mediaone.net.POSTED!not-for-mail Newsgroups: comp.unix.tru64 Subject: Re: Cant connect to tcp port References: <3aff169c$1@news.nz.asiaonline.net> From: Ric Werme X-Newsreader: NN version 6.5.0 CURRENT #119 Message-ID: Date: Wed, 16 May 2001 22:57:58 GMT NNTP-Posting-Host: 24.91.12.32 X-Complaints-To: abuse@mediaone.net X-Trace: typhoon.ne.mediaone.net 990053878 24.91.12.32 (Wed, 16 May 2001 18:57:58 EDT) NNTP-Posting-Date: Wed, 16 May 2001 18:57:58 EDT Organization: Road Runner Xref: archiver1.sj.google.com comp.unix.tru64:2220 "Simon O'Malley" 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 ". 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