We earn commission when you buy through affiliate links.

This does not influence our reviews or recommendations.Learn more.

Its straightforward you’ve got the option to performtelnetbut how about when B doesnt have any service running?

port-listener-windows

Thats where you need the port listener to help in this situation.

This utility is available for free for Windows 95 to Windows 10.

So here I have port 5500 listened successfully.

port-listener-extract

Doing this in Linux is slightly more comfortable, isnt it?

To create a port listener using Python

The above two examples are limited to OS.

How about having a python script that can work on Windows or UNIX?

port-listener-folder

Well, I found thebelowpython code which works on Windows and Linux both.

Check out thisonline course.

I hope the above procedure helps you to create a port listener for the connectivity tests.

port-listener-listening

netstat-listening-windows