07-29-2011 04:53 AM
I have a code to write / read a WiFi device server that gets DIO / AI data through a serial port. See attachment.
The device driver has a static IP of 192.168.1.10 and port 30704 for data stream. I have a router which links my laptop and this device driver in a LAN and all is fine.
But now I want to access my device driver through the internet. For this I already have done a port forwarding in my router to direct incoming requests on 30704 port to my device driver.
The issue : I cannot reach my device driver when I enter the WAN side IP of my router like 52.23.45.131 and the Port as 30704 in the TCP Open connection.
Any suggestions ?
Thanks
07-29-2011 06:24 AM
Hello,
without looking at your vi:
Did you try to reach your device from an external Computer?
Because NAT Translation cant be done (by most routers) if you try to reach yourself from the inside.
I am correct that the device created a virtual Networkcard on your computer at which you can communicate locally, right?
Did you try to use another computer in your Network, to reach your computer and the attached device?
If it is not possible, try to enable Routing at your computer.
If it is possible, your router is not forwarding (or you answered at with "no" at the first question or both).
If you are using an external computer and the networkinternal connection from another PC is working and you are 100% sure the router is set up correctly, try to disable all local firewalls and test again. (if it works you need to setup a proper fwrule).
Regards
Rene
07-29-2011 06:36 AM
- I tried ONLY from another external computer with a different ISP.
- Within my router's LAN subnet all PCs are able to access the device. My problem is I am unable to reach my device from the WAN side of the router !!
- There are no firewalls - my router as of now has left all ports open. Proof : My IP Camera is also on the same router and can be seen even on mobile phone.
Thanks
08-01-2011 10:10 AM