First we configure port number on server.py and run the server. Now with fixed port number we will run the client part in following:
Format:
$ python3 client.py file domain-name|ip-address port-number
Example usage:
$ python3 client.py meme.png your_vps.ru 8800
$ python3 client.py video.mp4 18.33.12.49 9332