Skip to content

Instantly share code, notes, and snippets.

@MrVaughan
MrVaughan / simple_socket_server.py
Last active August 29, 2015 14:08 — forked from bennettaur/simple_socket_server.py
Simple listening server to confirm callback connections
#Listening Server to confirm callback connections
#If running this on nix based you may need to open up an iptables rule to open that port on the network.
#iptables command:
# sudo iptables -I INPUT -p tcp --dport 8888 -j ACCEPT
#To remove the iptables rule after you are finished:
# sudo iptables -D INPUT -p tcp --dport 8888 -j ACCEPT