Open othersbet opened 4 years ago
@othersbet Try this: python server3.py or python3 server3.py Worked for me
@apurvadey This worked but I got another error this time. No issues in server side but I get errors in client side- "No connection could be made because the target machine actively refused it." Do you know how to solve this? Thanks!
@othersbet Yes, just restart the server terminal and start the server again with the above command. And then, in the client terminal, give your command. This worked for me, hope it helps.
@apurvadey Unfortunately, I am still getting the same error. I did everything as told in the pdf but it still won't work.
@othersbet Can you share any screenshot of both the terminals after starting afresh?
@apurvadey
@othersbet Okay, got you! You need to change the port 8080 to 8085 in server3.py and client3.py (if you are using server.py or client.py, the solution will be the same). change the port 8080 to 8085 where ever you encounter that in the whole file. and then try again.
@apurvadey Did that but still same error :(
@othersbet Please ensure that you run the server before the client. This is the most apt reason why a ConnectionRefusedError is occuring. You can refer this thread
I cloned the repository but still cannot open the file client side is working but server side is not
Is this a proper output i'm supposed to get after typing python server3.py
@KwizeraEmmanuel Yes, it is valid. This means it is successfully communicating with client side, hence receiving queries.
@poojasn-github Can you please elaborate?
I cloned the repository but still cannot open the file