I\'m trying to create a very basic server in python that listens in on a port, creates a TCP connection when a client tries to connect, receives data, sends something back,
It may be because you have not terminated the server code and tried to run it again on a another cmd. Server cannot be hosted on the same port number, try killing the previous hosted server.