Electronics > Beginners
Connect to USB device over network
(1/1)
metrologist:
I have a USB device that receives SCPI commands over raw socket port 9001. I can send *IDN? using Putty when connecting to localhost port 9001.

I got the IP address of my Windows PC and then went to another PC on the network and tried sending to IP port 9001 and there is no connection.

I went to my PC, Windows firewall and added inbound and outbound rules to open port 9001, and still no connection. I used TCP protocol.

Any idea what to try next?

Could this be blocked by antivirus or network security policy? For example, I am not able to execute batch files via scheduled task (I think just from or on network files, but need to check if a local file will execute on local files).
KaneTW:
* Is the USB device bound to 127.0.0.1 or any interface? If it's on 127.0.0.1, see if you can change it in the config, use SSH forwarding or e.g. http://woshub.com/port-forwarding-in-windows/
* * check this via netstat /a /n on Windows and look for something like TCP    0.0.0.0:43921          0.0.0.0:0              LISTENING
* Is your Firewall blocking 9001 incoming?
metrologist:
The USB device has some kind of back end software installed on the PC. I think this utility software acts as a local server that communicates via USB to the device, and the software I/O is via TCP/IP raw socket on port 9001.

So something is blocking communication from one PC term program to another PC host program.
KaneTW:
What does the netstat line for port 9001 say?
Navigation
Message Index
There was an error while thanking
Thanking...

Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod