Example, let us try to check whether local smtp port(25) is open or not.
- Open a DOS command prompt by Start > Run > cmd
- Type telnet 127.0.0.1 25
- If the result shows this message:
telnet 127.0.0.1 25 Connecting To 127.0.0.1...Could not open connection to the
host, on port 25: Connect failed. - That means smtp port was not open yet.
- If screen is change into black screen, or shows some other message which means the port was open already.
** You can use it to test on other device by changing its IP address.