09-03-2010 02:17 AM
I have a client server project who connect between LAN connection and now I want to upgrade it into internet connection. I have search several programs who has similar architecture but none is suitable. Could anybody help me out how to build basic client server which connect using internet connection?
I have attach my previous program below, I really appreciated if anyone may modify it so be able connect trough internet.
Solved! Go to Solution.
09-03-2010 02:43 AM
Hi,
with your program, you seem to have the full control over your house ;-). Why it shouldn't work over internet as it is? You have TCP open, TCP close...in Internet, you simply have to use other IP-adresses as the local ones. So can you specify your question? Or is it a problem with your LAN-infrastructure, that you have to configure your router to have access from outside?
I don't see why it shouldn't work over Inet...
christian
09-03-2010 02:52 AM
I don't know why it won't work. I just try several times using different computers with the same version of LabVIEW, set the server's IP address to the client side but still not work, an error occur tell that my TCP close has problem . Have you try with your machine?
09-03-2010 02:57 AM
No, I haven't tried...as I have only one machine...but the program itself works? Because you said, that TCP close has a problem, and this is at the end of your program...so everything works except the ending of the program?
09-03-2010 03:07 AM
The program works in two condition:
1. Run the client and server in one machine and using port number as their communication ID.
2. Run the client and server in different machine with same OS inside LAN network.
But in internet connection, it cannot work. Do you have any samples related with my system or has similarity TCP/IP model with the system?
09-03-2010 03:35 AM
On my system, I tried it on the same machine, and it works... whats the problem with an internet connection, as it isn't anything different than a LAN-connection?
09-03-2010 09:43 AM
Ehehe, I also do not know what the different. It should not has any problem in internet connection if in LAN works, right?
09-03-2010 11:26 AM
yeah, thats right. you checked all "non labview"-causes for this?
- Firewalls?
- Router which needs port forwarding?
Tried to ping from one computer to the other over internet? You can reach your host?
09-03-2010 02:18 PM
The ping is successful, host can be reached...
Is the problem may occur if the OS between two machines is different? Because first machine is using XP and the second using Win7.
09-03-2010 04:07 PM
normally not...should work between different platforms too...whats your exact config? how you try it? one pc and one laptop or two computers? router (which one?) or some dialup-internet-connection? you are sure you ping your computer and not your router if you have one? tried to open a telnet connection to the specific port (command prompt, enter telnet, enter, type "open", enter, insert ip to open connection to, space and port number, enter...)