Open ChenyunZhang opened 3 years ago
Check line 27 in client code,
QUERY = "http://localhost:8080/query?id={}"
If the client isn't able to resolve a connection to the server that error occurs.
Run the server, then visit http://localhost:8080/query?id=1
in your browser. It should be showing JSON data. If not your server is misconfigured.
The server is running but encountered this issue when running client3.py. Turned off the firewall, but still not working. Google stack overflow. Didn't get the issue resolved. Any advice is appreciated.