Ask Your Question

Revision history [back]

You can't just connect to any random port listening port on your machine and expect it to "echo" random values you have sent to it.

All those ports currently shown as listening are because services running on your machine have opened those ports specifically for inbound connection for their specific protocol. If you run netstat -ab from an elevated prompt you can see which process is listening on the port.

As noted by @Chuckc above you need to run a process on your PC that will listen on a TCP port and, if you wish, echo it back. One such utility is echo server. Run it, using an unused port > 1024 on your PC, e.g. path\to\echoserver.exe /p tcp /s 8080 and modify your embedded software to connect to the port you have used (8080) in my example and you should see any data sent by the embedded board echoed back.