Only needed to change this line to local address and port:
server_address = ('192.168.0.7', 8000) # change this to your ip address
and be sure the port forwarding is to allow all traffic through port 8000 for the firewall security settings:
|Port Forwarding List|
and be sure the notification receiver address is your public IP address (Google "what is my ip"):
Your public IP address
|Location Update Test||Location Update||N/A||N/A||All Types||N/A||http://184.108.40.206:8000||learning||EditDelete|
Customer has two things to clarify
Given the private setup as below. Am I right to say that. I need to do the following
1. Add notifications to public IP X.X.X.X port 8000 in CMX
2. Execute listener instance using IP 192.168.0.3 port 8000 in Client machine
3. Configure router to enable port forwarding for IP 192.168.0.3 port 8000
To extend the image below. If CMX and and Client machine are on different routers. How do I configure port forwarding for both routers?
The setup guide is correct for using the DevNet CMX sandbox, since your residential gateway (DSL modem, Cable modem) must deal with NAT and port forwarding. If you have a CMX on the same subnet (192.168.0.0, netmask 255.255.255.0) as in diagram then direct communication is possible, no port forwarding necessary. If you have two routers then you may have two different subnets, say 192.168.0.0 and 192.168.1.0 both netmask 255.255.255.0, or configured on the same subnet. In both instances direct communication is possible, no port forwarding necessary.