Project

General

Profile

Port 22222

Added by Anonymous about 10 years ago

Hi,

We are trying to have a third party software to connect to the board via Port 22222. We assigned a static address to both the PC and the Mityboard. We are able to ping at each other from both (but that's using port 22 on putty). Any suggestions as to why this might not be working?

Thanks,

Jack


Replies (4)

RE: Port 22222 - Added by Bob Duke about 10 years ago

Jack, I'm assuming you are running the "third party software" on the PC, correct?

If so, how did you configure the MitySOM-5CSX baseboard to listen to port 22222? Please attach the files you changed. Are you using a custom server on the MitySOM-5CSX baseboard or are you just trying to move an already existing server to new port?

-Bob

RE: Port 22222 - Added by Anonymous about 10 years ago

Hi Bob,

The only file I changed is the interface file in the /etc/network folder to give the system a static address on starting. The only thing now in the file is this.

auto eth0

iface eth0 inet static
address 192.168.2.12
netmask 255.255.255.0
gateway 192.168.2.2

And yes the third party software is on the PC.

Yes it is a custom server.

The strange issue is that when I have the eth0 set to dynamic address and the board connected to the internet, everything works. But we need a direct connection between the PC and the board, so when we have the static IP set, I am not able to get our software to connect.

Thanks,

Jack

RE: Port 22222 - Added by Anonymous about 10 years ago

Furthermore, ssh works to it.

We have a python program that tries to connect to the board via port 22222, but it returns an error stating that connection is actively refused.

RE: Port 22222 - Added by Anonymous about 10 years ago

Actually, the issue seems to be with the third party software.

So don't worry about it.

    (1-4/4)
    Go to top
    Add picture from clipboard (Maximum size: 1 GB)