does connect, but the moment I pass in data to perform action or get device details. The action times out. I am using proper format as defined in format_socket_data but still, when I'm trying to receive a response s.recv(1024) the socket times out.
Checked with all the examples and command, it seems if you run from localhost and connect to socket it works, but if you run from outside it doesn't work.
I tried running the Python script remotely.
Trying to connect using
does connect, but the moment I pass in data to perform action or get device details. The action times out. I am using proper format as defined in
format_socket_data
but still, when I'm trying to receive a responses.recv(1024)
the socket times out.Checked with all the examples and command, it seems if you run from localhost and connect to socket it works, but if you run from outside it doesn't work.