Closed ericboxer closed 3 years ago
You must start the script as root to open a TCP port <1024 (as for the default modbus port 502).
more info : https://stackoverflow.com/questions/24001147/python-bind-socket-error-errno-13-permission-denied
Ahhh that makes sense, thank you!
I've been working on getting this module integrated into a project and seems to run fine on my Mac. As soon as I move it over to a staging platform (Ubuntu) I get an error 13 as soon as server.start() is run.
I have given full permissions to all of my files, as well as trying to put the pyModbusTCP files in the same directory with full permissions.
Any thoughts on where I can look next?