Can't connect remotely to OpenSuse 11.2 box from HP-UX

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:

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 SIGNED MESSAGE-----
Hash: SHA1

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/

iQIcBAEBAgAGBQJLcqyDAAoJEF+XTK08PnB5pAcP/jn+uBwKlVgKWSoVjNtj+NcE
dqPED9AlCL+6PtYh5M+7T3RvLL/MP+Y1oUAnous7z5T+tNeDmOaKJiVyiNGedHeV
IlqTKi2Us6DVaAkxunN1wnrLhqjqz6XKbM7mDgl2GK5vRE0BdiNwLLCNZ6vk6S1k
b6PTyMZ0Wwj9Xie+P0IFLlSQQxM18+IFRsojpwAuOXB/tVDKNpJDyK4PaEDN9yoi
EhhBvudf4LQgau2y+JShO3xYlqGTTYjlTZRvhSJqEiGXG2QBGDSgpmfIELjgjQWJ
vWHROTNkS65FiUKWDNxV37/5RzfdbxBImAcDVfnW7dJxEKJOJnqWxQmy+N/ETqae
H1bRxvpmltR1kS0JlIdIxmJtFXcttHhkX69y69Zt8VrKCeSAgtvAGA71LWG7o3VH
8ZoYzgm2bErP1P/w3j7ZcFCDJ98cUbWRt0fe4Il72DTYSo6b9LDSUxPAr/v3EG+E
FksjP7knVmQpa4lhAA8I2Uh6r62LPfCWu8dXNet96FrpZJyU/mD0cz8HJETaF6/H
lF5TpaOr6wUBlHpmk91+Bb/M+cXKE4cAjg+4Xn3lRs/VjMgJ1WGsDthKOqKv8Pa/
xwqCk14aSQwQQ5y5KAebf4uexli9EYYRvqM7Gt42Dpurxc+kek2url/8FF26eMvb
uPpAylypga6Eu9QF/Vp0
=5Mo/
-----END PGP SIGNATURE-----

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 SIGNED MESSAGE-----
Hash: SHA1

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/

iQIcBAEBAgAGBQJLcs3DAAoJEF+XTK08PnB5ov4P/233tTdbr/CzG39d+LkhOkoP
pRcUpdMYUrrEVL6x0uQBq57qzbxFI+x1OKSZeLi0PcbmlLmAqUEBswjBJvxtWY0p
rJd5+CT/Zum5GxUH9uSOwe04A7LuhNf5851mjyqnPThZvGBOBympoBCSCSP0bcno
iiMXfp4lK2y53mN+0UCdOt2k0MZJg5ksdxVZe4aEDGjhO2p3gxENVojSHi3x6DPD
SC7us9t54v58WG55L9jlg2IHcjvo9z4R/w1mGOUTzicn/41/mefLXh3rfFFhLc1x
5DQczZ3mKAAs138a0I1ppNWNUcxQDuyYA2otxnwwnivorUbr/hGunJElX3bXfjiR
SMPfOOEdTVi8v1XLOmD9VBVMLk6ttWl3q/nvUakzjEKQNH8evWbqbqslUwhENrFq
SQTe+v39Z+D4S96+okmcKzmLhQW3NJH0Zv+hnZ7owoi/b64hGTa2iWl9bIPAzLFI
kQ9j8APFdoi8DNQSxHkeubC/dQ2FMuaZvQ5AcRS/F8V0vhYyfgPEuNl3o6rRe1m8
mEFufgFYCUItuE53Q+QnmbXgdsQ2l1fnGHcg0uw7PpvIw3va+cWdjlPVgBhoqClI
p+tP3U7U7Sa5MREos35WSUWa7TjNW/vuDNcyxx7LuIQhrCorq8tiNyJNC7Eus7r5
8qC3OcF2bQDb7ZC4RcPg
=2dhR
-----END PGP SIGNATURE-----