09-28-2010 11:04 PM
Hi,
My requirement is to transfer data between two LV apps running on two different PCs over the internet. I am trying to use Datasocket for this purpose. I am able to browse and select the variable i created over a local network.
Please help me out to do the same over the internet. I have a static IP for my internet connection, and my PC sits behind a router. When i give the my static IP, the datasocket browser in the control properties lists that some data socket server is available, but when i expand it it says there are no items present in it.
I have opened a port on my router that directs communication to my PC. So i give something like "122.122.122.122:1000" to browse for datasockets.
Thanks in advance
10-01-2010 12:35 PM - edited 10-01-2010 12:40 PM
Hi,
Did you mean, you're using "shared variables" with datasocket?
Here's a small checklist in case if you have missed any of it -
I hope this helps. Please give some more information, or post your vi if possible.
Regards,
09-22-2011 04:09 PM
-Hi,
I have the same trouble. I can connect over the LAN, but I can't connect over Internet, I'm not using shared variables (I don't really know what is it) but I like to know if this problem have been solved.
The DS server is in a machine with static IP assigned inside a University. Inside the university I can access, outside I can't.
Do you have any solutions?
Thank you.
09-22-2011 04:26 PM
That requires port forwarding in your firewall, or for more security use a VPN tunnel so the data is encrypted over the 'net.
For the university guy - talk with your IT admins, and prepare for a fight :womanmad:
09-22-2011 04:36 PM
Thanks for replying,
Then I'll have a talk with him/her. And, just for curiosity, have you used datasocket over internet succesfully? Any suggestion? Could you post a VI or the default examples work well?
09-22-2011 04:36 PM
Nitrox - where did you put the port forwarding?
does it work on the LAN? if that works its something that gets blocked, like transferring information "the opposite flow"?
09-22-2011 04:51 PM
I dont have any small examples, but datasocket works with a lot of things 🙂 its functions are quite versitile (excuse me for my english). I havent looked at any examples, but if they work on the LAN then getting it over the internet should be no problem if all the firewalls/VPN connections are OK.
I would recommend VPN for controlling applications of any industrial systems. Often an own "process" LAN is used for this where the application is used. Getting access to this from the internett is difficult sometimes. Same as your university (thats why I says prepare for a fight - if they know their job they will deny you when using port forwarding) There are a lot of people out there scanning for security breaches.