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 20:41:59 PST Path: archiver1.sj.google.com!newsfeed.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsfeed01.tsnz.net!news01.tsnz.net!news.nz.asiaonline.net From: "Simon O'Malley" Newsgroups: comp.unix.tru64 Subject: Re: Cant connect to tcp port Date: Thu, 17 May 2001 15:41:54 +1200 Organization: "Asia Online NZ Ltd." Message-ID: <3b034885@news.nz.asiaonline.net> References: <3aff169c$1@news.nz.asiaonline.net> NNTP-Posting-Host: news.nz.asiaonline.net X-Trace: raewyn.paradise.net.nz 990070917 69180 210.48.22.5 (17 May 2001 03:41:57 GMT) X-Complaints-To: abuse@tsnz.net NNTP-Posting-Date: Thu, 17 May 2001 03:41:57 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Original-NNTP-Posting-Host: genasys9.internet.co.nz X-Original-Trace: 17 May 2001 15:41:57 +1200, genasys9.internet.co.nz Xref: archiver1.sj.google.com comp.unix.tru64:2222 Hi Ric While I would love to set up tcpdump that is currently a no go. The machine in question is a customers and they have zero capable people to do that sort of thing. The low down is: We have a piece of software that provides a bridge between a java web server and our proprietry mapping software. A request is sent from the JWS on a specific port number ie 8994 and the bridge software takes the request and forwards it the GIS software for processing. This has worked fine on NT, linux hp-ux, aix and also 4.0f. It has run successfully on a least 5 other 4.0f boxes. It is just this one site where it doesn't work. Normally we open a few ports to service multiple requests. netstat -a | grep 899 gives bms, gis.wbopdc.govt.nz, bms: /usr/sbin/netstat -a|grep 899 tcp 0 0 localhost.3665 localhost.8993 SYN_SENT tcp 0 0 *.8994 *.* LISTEN tcp 0 0 *.8993 *.* LISTEN If you try and write something to the port it gives the following error message error reading writing to socket connection refused Telnet is also unable to connect: telnet gis 8993 gives connection timed out. I was really just wondering if there was something simple set to lock ports or stop connections. Simon "Ric Werme" wrote in message news:WBDM6.42$5X4.72043@typhoon.ne.mediaone.net... > "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