Python server “Only one usage of each socket address is normally permitted”

后端 未结 7 1071
野趣味
野趣味 2020-11-30 06:21

I\'m trying to create a very basic server in python that listens in on a port, creates a TCP connection when a client tries to connect, receives data, sends something back,

7条回答
  •  情话喂你
    2020-11-30 07:21

    If you are trying to rerun the server without stopping the last instant of the server it won't work. If you want to stop the current instant go to

    shell-->restart shell.

    If you have already closed the shell without stopping the server go to the task manager and end task python process in the background processers. This will stop the last instant of your server.

提交回复
热议问题