Python Socket library TCP client to Node-Red TCP Server Node not working

Ports below 1024 are privileged so you either need to run as root (not advised) or enable access to that port as a user, or choose a port > 1024.