LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Client Server using Internet [ask]

Solved!
Go to solution

Ohh my, you're right. I ping my router, not my host. That's why the client never reach the server.

Do you know how to setting it?

I'm using laptop and PC.

0 Kudos
Message 11 of 24
(2,504 Views)

depends on your router...there are normally options called "port forwarding" which allow you to forward a port to your computer...as the name says ;-). there, you can define a port which will be, when accessed, directly forwarded to your computer...or you can define your computer as exposed host, which means all ports or incoming requests are forwarded...


THINK G!! 😉
------------------------------------------------------------------------------------------------
Using LabView 2010 and 2011 on Mac and Win
Programming in Microsoft Visual C++ (Win), XCode (Mac)
0 Kudos
Message 12 of 24
(2,490 Views)

oh...and if you have one device directly connected to internet (without router, that means it has a public ip address), you can try changing the role of server and client for a test...if the server has a reachable ip from the internet, the client should have access to it, even if its behind a router (the client!!)


THINK G!! 😉
------------------------------------------------------------------------------------------------
Using LabView 2010 and 2011 on Mac and Win
Programming in Microsoft Visual C++ (Win), XCode (Mac)
0 Kudos
Message 13 of 24
(2,485 Views)

Huahh, it's quite complicated.. I have no basic in networking so its quite hard for me, but let me try first then..

0 Kudos
Message 14 of 24
(2,481 Views)

which router do you have?


THINK G!! 😉
------------------------------------------------------------------------------------------------
Using LabView 2010 and 2011 on Mac and Win
Programming in Microsoft Visual C++ (Win), XCode (Mac)
0 Kudos
Message 15 of 24
(2,478 Views)

Belkin..

0 Kudos
Message 16 of 24
(2,472 Views)
Solution
Accepted by topic author Papang

havent worked with belkin so far, but had a look at a manual of arbitrarily chosen router...there are lots of config options like "virual server"...but don't know how this works, as the manual in this part isnt very detailed. the easiest way seems for me to take your computer, get its (local) ip address (192.168.???.???) and insert it into the demilitarized zone (DMZ), which is part of your safety properties of your router...then, this computer is exposed to internet. Dont forget to activate a firewall on this computer, as the hardware firewall of your router will not work anymore for this computer!


THINK G!! 😉
------------------------------------------------------------------------------------------------
Using LabView 2010 and 2011 on Mac and Win
Programming in Microsoft Visual C++ (Win), XCode (Mac)
Message 17 of 24
(2,465 Views)

DMZ is easier for me. Hehe, thanks 🙂

So how to connect it, just insert my local ip address which set in dmz to the client system or should perform several steps?

0 Kudos
Message 18 of 24
(2,449 Views)

inserting your local ip should be enough...try it...but remember the whole host is then exposed to internet!! if you activate a firewall (you should!), you have to allow access to labview in that firewall, otherwise, it will not work either...


THINK G!! 😉
------------------------------------------------------------------------------------------------
Using LabView 2010 and 2011 on Mac and Win
Programming in Microsoft Visual C++ (Win), XCode (Mac)
0 Kudos
Message 19 of 24
(2,444 Views)

THANK YOU SO MUCH!!!

It's work! I really thank to you.. This is main function of my final year project. 

I really appreciate your advice.

 

Thank you. 

0 Kudos
Message 20 of 24
(2,436 Views)