📅  最后修改于: 2022-03-11 14:57:43.347000             🧑  作者: Mango
Connection refused means that the port you are trying
to connect to is not actually open.
WINDOWS SOLUTION
To check if your program is listening on a port, use the command
netstat -aon | find /i "listening"
now look through the ip addresses on the left to see if the
port you are looking at is open.
If the port isn't open, well, i guess you'd have to work out
how to open it then.