SocketException: address incompatible with requested protocol

前端 未结 2 1199
逝去的感伤
逝去的感伤 2020-12-09 14:58

I was trying to run a .Net socket server code on Win7-64bit machine .
I keep getting the following error:

System.Net.Sockets.SocketException: A

2条回答
  •  情歌与酒
    2020-12-09 15:25

    Edit C:\Windows\System32\drivers\etc\hosts and add the line "127.0.0.1 localhost" (if its not there, excluding quotes)

提交回复
热议问题