From: "Simon O'Malley" <simono@genaware.com>
Subject: Re: Cant connect to tcp port
Date: Thu, 17 May 2001 15:41:54 +1200 [thread overview]
Message-ID: <3b034885@news.nz.asiaonline.net> (raw)
In-Reply-To: WBDM6.42$5X4.72043@typhoon.ne.mediaone.net
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" <werme@mediaone.net> wrote in message
news:WBDM6.42$5X4.72043@typhoon.ne.mediaone.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
prev parent reply other threads:[~2001-05-17 3:41 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
2001-05-17 3:41 ` Simon O'Malley [this message]
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