I am trying to make a raw HTTP request in Python and write the response to a file. When I try to bind to the resolved IP Address or domain of the host I get this:
First, you must connect both devices to the same network. Then, for the server.py (or anything you want to call it)
Use
soc.bind(('', PORT))
Instead of
soc.bind(('IP', PORT))