{"action":"created","issue":{"url":"https://api.github.com/repos/sunainapai/makesite/issues/8","repository_url":"https://api.github.com/repos/sunainapai/makesite","labels_url":"https://api.github.com/repos/sunainapai/makesite/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/sunainapai/makesite/issues/8/comments","events_url":"https://api.github.com/repos/sunainapai/makesite/issues/8/events","html_url":"https://github.com/sunainapai/makesite/issues/8","id":318287903,"node_id":"MDU6SXNzdWUzMTgyODc5MDM=","number":8,"title":"socket.error: [Errno 98] Address already in use","user":{"login":"DamonDBT","id":19727006,"node_id":"MDQ6VXNlcjE5NzI3MDA2","avatar_url":"https://avatars0.githubusercontent.com/u/19727006?v=4","gravatar_id":"","url":"https://api.github.com/users/DamonDBT","html_url":"https://github.com/DamonDBT","followers_url":"https://api.github.com/users/DamonDBT/followers","following_url":"https://api.github.com/users/DamonDBT/following{/other_user}","gists_url":"https://api.github.com/users/DamonDBT/gists{/gist_id}","starred_url":"https://api.github.com/users/DamonDBT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DamonDBT/subscriptions","organizations_url":"https://api.github.com/users/DamonDBT/orgs","repos_url":"https://api.github.com/users/DamonDBT/repos","events_url":"https://api.github.com/users/DamonDBT/events{/privacy}","received_events_url":"https://api.github.com/users/DamonDBT/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-04-27T06:05:46Z","updated_at":"2018-07-06T18:20:49Z","closed_at":null,"author_association":"NONE","body":"i run your code on debian with python 2.7. And it throw an error : socket.error: [Errno 98] Address already in use\r\ni change the ip:port to my server ip+new port. but the error still exist.\r\ni search the question online . someonte say  to add  one line code below , but i can't find where to add ,\r\n        self.recSocket = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)  \r\n        self.recSocket.settimeout(CHECK_TIMEOUT)\r\n        **self.recSocket.setsockopt(socket.SOL_SOCKET,socket.SO_REUSEADDR,1)**  \r\n        self.recSocket.bind(('', UDP_PORT))  \r\n     the  url: https://blog.csdn.net/chenyulancn/article/details/8181238\r\nhope you can help me. Thanks.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/sunainapai/makesite/issues/comments/403110993","html_url":"https://github.com/sunainapai/makesite/issues/8#issuecomment-403110993","issue_url":"https://api.github.com/repos/sunainapai/makesite/issues/8","id":403110993,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzExMDk5Mw==","user":{"login":"wsw70","id":1345886,"node_id":"MDQ6VXNlcjEzNDU4ODY=","avatar_url":"https://avatars2.githubusercontent.com/u/1345886?v=4","gravatar_id":"","url":"https://api.github.com/users/wsw70","html_url":"https://github.com/wsw70","followers_url":"https://api.github.com/users/wsw70/followers","following_url":"https://api.github.com/users/wsw70/following{/other_user}","gists_url":"https://api.github.com/users/wsw70/gists{/gist_id}","starred_url":"https://api.github.com/users/wsw70/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wsw70/subscriptions","organizations_url":"https://api.github.com/users/wsw70/orgs","repos_url":"https://api.github.com/users/wsw70/repos","events_url":"https://api.github.com/users/wsw70/events{/privacy}","received_events_url":"https://api.github.com/users/wsw70/received_events","type":"User","site_admin":false},"created_at":"2018-07-06T18:20:49Z","updated_at":"2018-07-06T18:20:49Z","author_association":"NONE","body":"@DamonDBT you have something running on the default port used by the built-in Python web server (namely `8080`). Try to start your server with\r\n\r\n    python -m SimpleHTTPServer 9977\r\n\r\nFor python 3.x this would be \r\n\r\n    python -m http.server 9977\r\n\r\nor \r\n\r\n    python3 -m http.server 9977\r\n\r\nYour site will the be at `http://localhost:9977`. You can use any other port not used by another service.\r\n"}}
{"actor":{"display_login":"wsw70"}}