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.
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...
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?
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?
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?
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?
Ehehe, I also do not know what the different. It should not has any problem in internet connection if in LAN works, right?
yeah, thats right. you checked all "non labview"-causes for this?
- Router which needs port forwarding?
Tried to ping from one computer to the other over internet? You can reach your host?
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.
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...)