Closed cnliri1 closed 7 years ago
Probably you have another server running on port 8080 (or some process already listening on that port).
You can update port number to something else in start function (server.py):
def start(server_class=HTTPServer, handler_class=Server, port=8080):
Just replace the 8080 with some other value like 8182 and use it in your API calls:
http://localhost:8182/learnCommand/lampon
I have updated the sources, now you can specify the server listening port in settings.ini.
Just update the value of serverPort
and use it in your api calls/http requests...
thanks@radinsky work perfectly now
Hello,
when i run the server.py,it report an error,
socket.error: [Errno 98] Address already in use
any suggestion regarding this issue?