I created a conf file to connect to the address and port for stunnel, whose location is in / usr / local / etc / stunnel / and started the stunnel service.
I bound the address to the local ip address 127.0.0.1:60005
To test the connection, I tried to connect the address via telnet with:
telnet 127.0.0.1 60005
Includes:
Trying 127.0.0.1 ... Connected to 127.0.0.1. The escape character is "^]". The connection is closed by the external host.
I know that the connection is not closed by a foreign host, since I tried telnet with the source ip address, there is no problem.
So how can I test my stunnel connection other than using telnet? Thanks.
source share