I am running a test from Eclipse (on OpenSuse) which telnets into a HP-UX machine, runs Java unit tests on that machine, and publishes the results. The problem is that the HP-UX machine needs to communicate back to OpenSuse, and it looks like OpenSuse is refusing that connection. The test throws up a Java error:
java.net.ConnectException: Connection refused (errno:239) vmcid: 0x4f4f0000 minor code: 1 completed: No
I have opened the telnet port and my firewall is turned off. Does anyone know if there is a log file I could look at on OpenSuse which would show me the incoming connection, and then maybe I could troubleshoot why it’s happening?
Try /var/log/firewall, and try it with your SuSEfirewall2 stuff enabled.
Good luck.
On 02/10/2010 05:46 AM, eeijlar wrote:
>
> Hi,
>
> I am running a test from Eclipse (on OpenSuse) which telnets into a
> HP-UX machine, runs Java unit tests on that machine, and publishes the
> results. The problem is that the HP-UX machine needs to communicate back
> to OpenSuse, and it looks like OpenSuse is refusing that connection. The
> test throws up a Java error:
>
>
> Code:
> --------------------
> java.net.ConnectException: Connection refused (errno:239) vmcid: 0x4f4f0000 minor code: 1 completed: No
> --------------------
>
>
> I have opened the telnet port and my firewall is turned off. Does
> anyone know if there is a log file I could look at on OpenSuse which
> would show me the incoming connection, and then maybe I could
> troubleshoot why it’s happening?
>
> Any help, greatly appreciated.
>
> /jlar
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
You can install nc (BSD netcat) on both machines to check ports.
On the openSUSE box, type: nc -l 23
On the HP-UX machine, type: nc yourOpenSUSEBox 23 yourOpenSUSEBox being the name or ip of the listening server and 23 telnet default port number.
Then type something in the HP-UX terminal. If the port is open and accept incoming connections, you will see the characters you typed in the openSUSE terminal.
You can also portscan you openSUSE box to find out what ports and services are on.
netcat comes with OpenSUSE/SLES/SLEd already so adding the BSD version
(nc) is not required. Also the -zv switch to netcat makes it a much nicer
port checker than just trying to access it and then send data:
netcat -zv ipAddrHere portNumHere
Good luck.
On 02/10/2010 07:46 AM, please try again wrote:
>
> You can install nc (BSD netcat) on both machines to check ports.
> On the openSUSE box, type:
> NC -L 23
> On the HP-UX machine, type:
> NC -YOUROPENSUSEBOX- 23
> -yourOpenSUSEBox- being the name or ip of the listening server and 23
> telnet default port number.
> Then type something in the HP-UX terminal. If the port is open and
> accept incoming connections, you will see the characters you typed in
> the openSUSE terminal.
> You can also portscan you openSUSE box to find out what ports and
> services are on.
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/