Does tcp works on different networks

Hello, 
I have a problem with TCP/IP communication. 
I write a program for TCP/IP communication (server-client) and it works fine when I tested in office (the same network). But when I tested program when server and client VI are connected to different network I dont have any communication.
Does TCP/IP work when client.VI and server.VI are connected to different networks? If not, does anybody have suggestion which protocol to use? Problem is that server VI must be in exe format but client VI must be open for change.  
Thanks
Solved!
Go to Solution.

I think we have to clear up some things before going into detailed "debugging".
First of, when talking about "networks", i expect you to refer to "LAN" (local area network). A LAN often uses a dedicated "subnet" identification, which is a combination of the IP address(es) and the subnet mask. The subnet mask defines which part of the IP address refers to the LAN identification, the "rest" of the IP refers to the specific PC.
An IP(4) address consists of four bytes, a subnet mask gives instruction on how many bits and bytes are the "LAN ID". Subnet masks often are 255.255.255.0.
So when saying "works in office (same network)", you do mean: same subnet. Correct?
(All IP addresses share the same values in the bytes of the subnet mask, but differ in the rest. Example: PC A 192.168.1.12, subnet 255.255.255.0. PC B 192.168.1.15, subnet 255.255.255.0.)
If the PCs are NOT within the same subnet, it depends on the network setup on how to proceed. If there is a "direct connection path" from A to B, simply the target IP address is sufficient (e.g. A 192.168.1.15, subnet 255.255.255.0, B 11.88.2.126, subnet 255.255.255.0 works if subnet 192.168.1 has direct connection to subnet 11.88.2).
If there is NO direct connection, you require "port forwarding" on the hardware (router) inbetween. This can get quite difficult.
So depending on the goal of this request, you maybe better re-architect the approach of loading dynamic components in your application.
Norbert
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.

Similar Messages

  • Network does not work or the network signal attenuates rapidly

    Network does not work or the network signal attenuates rapidly

    Hello shishir_teamo,
    If you are having issues with Wi-Fi on you iPhone 4S, check the following article that will help troubleshoot the issue.
    iOS: Troubleshooting Wi-Fi networks and connections
    http://support.apple.com/kb/ts1398
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • Datasocket does not work with two network cards

    If I have two ethernet card in a PC. The Datasocket server does not work if the second card is enabled. It keeps displaying resolving IP Address. I am wondering if there is a solution for this problem.
    Thanks 

    Thanks for you reply. One card has a static address(10.20.35.1), which is used for Data socket, and the other card uses a dynamic IP address. The card with dynamic address is only used for connecting the PC to the company’s network.
    The second card, when turned on causes the Datasocket server problem. In the Datasocket Server manager I have only two IP addresses under Permissions Groups. (10.20.35.1 and 10.20.35.11. 10.20.35.11 is the IP address of the remote PC with labview application. The Datasocket is used to transfer data between the two PC’s)
    I am wondering if my set up for hosts in Datasocket Server manager is not correct.

  • Splitting does not work on a networked drive.

    My iPhoto Library is on a following networked drive connected by cat6.
    Linux:CentOS 4.2+samba 3.0.10-1.4E.12.2.
    In this environment, splitting photos does not work. When splitting photos, initially photos are splitted into two events. Then I change a event's name from 'untitled event' to something.
    After that, new directory is created automatically to store photos of new event, and then photos of a new events are moved into this new directory. However, in actuality, new direcotory was created and was renamed, but none of photo was moved from an original event directory into a new directory. As a result, iPhoto lost links for these photos, and I can't access these photos any more.
    I think permission of iPhoto Library is correct. Because I can add, edit and delete photos manually within iPhoto.
    As a workaround, I create a new event first manually, and then cut & paste photos into that from an existing event.
    According to posted topics in this forum, it seems that iPhoto contains a problem when iPhoto Library is stored on a networked drive. Is this also an issue that only Apple can fix...?
    Any hint would be grateful.
    Thanks in advance.

    My problem was also solved. The root cause of this problem was ':'. When splitting events, iPhoto attempts to create a folder named like '2007:08:16' temporarily. In my case, as I described my Library was stored on a Linux Server via the Samba. But the Samba refuses a folder name which is including ':'.
    That's why, iPhoto was not able to create this temporary folder.
    To solve this problem, you have to throw the Samba away and use another file sharing architecture. I decided to use netatalk. Netatalk can accept ':' as a folder name.
    I already installed the netatalk on my Linux Server actually and tried splitting events. As a result, iPhoto was able to split events as expected.
    FYI:
    From my understanding, most of NAS products are using the Samba as their architecture. People using NAS has a possibility to face this problem.

  • Can EJB work acrros different NetWorks(subnets)...

    I have deployed EJB in OAS 4.0.8.2 which works fine with LAN environment. But the same refuse to do so, when hosted with ISP.
    Applet is my client to EJB.
    The LOOKUP failure occurs(CORBA.COMM_FAILURE). When discussed, I got these infos.
    1. EJB may be a layer 2 protocol which does not allow it to work across different subnets.
    2. Applet-EJB connectivity can not by bass the socket layer.
    3. Firewalls, doesnot allow the EJB connections to be performed.
    This means EJB can not work in Internet scenario... Is that so....
    Can any one help me???
    Thanks for the efforts u will be taking...
    Serin.
    null

    You can actually use one linksyssmartwifi accounts to multiple routers as long as you were able to associate those routers with your account. So even if you are at your office, home or vice versa; you can still access your router remotely as long as your account and the routers have been associated.

  • Does iMessage work with proxy networks ?

    I`m in the university, WiFi network is protected by proxy,
    I`ve read about opening ports, but does it work and how to do it ?

    I do, but iMessage only worked one day for me before it stopped... whenever I try to activiate it, it either says "Waiting for activiation" but nothing happens... Any help would be much appreciated!

  • I'm from Saudi Arabia and I want to buy Yvonne S. 5 of the T-Mobile Does it work on the network in Saudi Arabia

    I want to buy a iPhone 5 of Apple Astor U.S. from T-Mobile Does it work in my country Saudi Arabia

    Im sure it will work. I bought iPhone 5s 16GB Gold (GSM) T-Mobile on Oct-18 from the Apple Online Store. I didnt  use it in US because I was leaving the US, but have used it in Turkey, Dubai, Zambia & Uganda and I assure you it worked perfectly & to me thats my description of Unlocked and can be used in any country outside US.

  • Does LSMW works for different subtypes (Each subtype has different screens)

    Hi All ,
        I have to update a Custom Infotype, there are 3 subtypes for the Infotype and the screen changes for every subtype. Does LSMW work for this ? If not what would be the appropriate method ?
    Thanks & Regards,
    Ravi

    Yes, I have checked for BAPI's, but there is no BAPI which can be used as this infotype is a Custom Infotype.

  • HP 932C PRINTER DOES NOT WORK OVER A NETWORK WITH TWO DIFFERENT OPERATIONAL SYSTEMS.

    I have a 932c HP printer connected via USB to a Windows XP desktop computer (Dell E520), which is part of a home network.
    I also have an HP Pavilion dv5 notebook, running Windows Vista Home Premium 64-bit, connected to the same network. This notebook can find the printer over the network. However, when I try to capture the 932c printer, the following dialog box appears:
    "The server for the `hp deskjet 930c series` printer does not have the correct printer driver installed. If you want to search for the proper driver, click OK. Otherwise, click Cancel and contact your network administrator or original equipmente manufacturer for the correct printer driver."
    When I click OK, another dialog box appears:
    "The file `*.INF`on (Unknown) is needed. Type the path where the file is located, and then click OK."
    However, I can't find any workable *.inf file in the HP notebook Hard drive (both partitions).
    I have already tried to download the driver from the HP website, but it says that Windows Vista already has the driver for such printer! Well, now I'm stucked!
    I'd like to point out that the printer works fine if I plug it directly to the HP notebook's USB port. But I want to operate the printer via the home network, keeping it hooked to the Windows XP desktop computer.
    How to solve this problem? Thanks.

    This is the HP notebook forums. I would recommend posting this in the printer forums for better coverage.
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------

  • Icloud mail does not work over cellular network after upgrade to IOS 8.1.3

    Hi,
    Since I did the update to IOS 8.1.3 on my iPhone 6 Plus yesterday, my icloud mails cannot be received/sent with my phone over the cellular network.
    In order to make mails workin' I need to be connected to a Wifi network.
    All setting are correct on the phone.
    How can I fix this **** issue.
    Deleted the icloud account already and added it again but that does not help.
    Also when I try to connect  to iCloud from the iCloud settings it says: Authentication Failed - A server error occurred.
    The password is correct.
    Please help me.
    Jerry

    I Fixed it by trying to sign in with a different ID and canceling when it asked For a password and then signed in with my ID and it works! No more error message. I got this idea from another discussion. Thank you for replying though.

  • Writing a java application which can work in different network protocols

    Hi,
    i am working in an environment where we have different type of system. some systems work on tcp/ip and some systems works on some specific protocols like x.25 etc.,
    so i want to know is it possible to write a protocol independant application in java for solving this problem.( not specifically for x.25 and tcp/ip)
    its urgent!
    regards

    write something independant of its implementation is one of the core principes of Java, simply write to an interface (or abstract interface).
    Then build for each protocol a concrete class which will execute the calls for that specific protocol
    Does this help?

  • T400: Internet does not work when switching networks unless reboot?

    Hi everyone,
    I can't seem to establish an internet connection when I switch networks (e.g., internet at work, then at home). It gives me an error saying "limited connectivity" or failed to renew IP. This happens for both wired and wireless connections. 
    I tried turning off the firewall (comodo internet security) along with the windows firewall. I tried letting windows handle all my internet connections. Yet the error still happens. So I just have to simply reboot my laptop, and everything works 100%. 
    I never had an issue like this with other laptops. Could this possibly have something to do with some of the bundled Lenovo software? I disabled most (if not all) of them since I barely use them. 
    Thanks for your help.  This is my 1st thinkpad, and I'm enjoying it so far. 

    Hi gatorman1122,
    I had a similar problem with my T400.  What wifi card do you have installed?
    I had an Intel 5300.  Networking was OK with XP Pro installed, but messed up with either Vista Ultimate 32-bit or Vista Business 64-bit installed.  All were Lenovo OS images.  I tried 2 different 5300s.
    I only saw the problem with wifi, but basically if I changed access points or changed from wired to wireless, the first attempt to use the (new) access point would fail to get an address.  An immediate reboot would cause it to succeed.
    I finally got the issue escalated to a 2nd-tier tech.  He sent me a 5100 to try. That fixed it.  I doubt it is a hardware issue.  It is most likely a Vista/Intel/Lenovo software issue/conflict.  IMNSHO, ThinkPad wifi w/Vista is a mess.  One of the most fundamental laptop features should work much better than this.  Many folks have T-series wifi problems and Lenovo seems to be ignoring it.
    Just to add to the excitement, I told a friend buying two new T400s to order 5100s to avoid the problem.  He did, and got the machines with XP installed.  They both exhibited the same bad behavior    Once he updated XP and all the Lenovo stuff, they started to work OK and have stayed OK.  Grrrr.....
    Z.
    The large print: please read the Community Participation Rules before posting. Include as much information as possible: model, machine type, operating system, and a descriptive subject line. Do not include personal information: serial number, telephone number, email address, etc.  The fine print: I do not work for, nor do I speak for Lenovo. Unsolicited private messages will be ignored. ... GeezBlog
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество

  • Intel 7260 does not work on open networks/filtered ports

    Hi Everyone! I made sure to check if this was posted before and tried to fix everything I could before asking you guys. For the past few days, I have been using Android wifi tethering as I was unable to get the speed up above 1000 B/s at my school. This means that the pings work, but I am unable to do anything else.
    I have the latest kernel and the latest firmware (downloaded from the iwlwifi kernel.org section) and am currently using NetworkManager. My wifi works on my WPA network at home, but nowhere else. This is a fresh install of Arch running Gnome.
    Laptop model: ASUS Q302LA
    Outputs of my stuff:
    lspci gives me:
    00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 0b)
    00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
    00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 0b)
    00:04.0 Signal processing controller: Intel Corporation Device 0a03 (rev 0b)
    00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04)
    00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev 04)
    00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)
    00:1c.0 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 1 (rev e4)
    00:1c.3 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 4 (rev e4)
    00:1d.0 USB controller: Intel Corporation 8 Series USB EHCI #1 (rev 04)
    00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev 04)
    00:1f.2 SATA controller: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] (rev 04)
    00:1f.3 SMBus: Intel Corporation 8 Series SMBus Controller (rev 04)
    02:00.0 Network controller: Intel Corporation Wireless 7260 (rev cb)
    uname -r is:
    3.18.6-1-ARCH
    Config on the settings is all the automatic ones. I get the signal strength and the speed but data transfers at a ridiculously slow rate. When I had Windows, it was 50 Mb/S.
    If you need anything else, I can give you all you need.
    All ports are filtered.
    Thank you for helping. If this is in the wrong section, feel free to move it.

    For people that end up stumbling upon this thread: I talked to the IT director at my school and he said that it's normal for Linux (using open source drivers) users to find problems with connection. (Also, the USB wifi card I tried did not work.) As of now, it's a problem on the provider's end. If you can, ask them to update their "wifi stuff" and if that doesn't work, see if you can get them to secure the network with WPA2/PSK. (Probably won't happen) I was fortunate that I contacted him during the planning phase for securing the wifi and only had to wait a few days.
    Keep it Simple

  • BUG: Airtunes does not work on all networks

    I have a brand new AX. When configured as a standalone wireless network for Airtunes, the iTunes errors out with "Unknown Error -15000" on 10.5.8, iTunes 8.2.1, IPV6:Auto, Firewall:Set to... or Allow all...
    I only had two networks to test this feature on and Airtunes worked fine on an Airport based network but not on a non-Airport based one. The Tech specs say nothing about restrictions like this.

    It sounds like the router controlling the network that you are attaching to is blocking that streaming traffic.

  • Multicast Does not work between different VLANS

    Hi,
    I have problems with multicast. On the same VLAN i can see the SAP announcement in VLC and play, but on different VLAN i can see SAP but i cant play it. The play turn to pause and the video doesn´t appear.
    I have 2 Cisco 6500 switch CORE with GLBP configured but not working. In the second switch i have all interfaces in shutdown. The first core switch have L3 routing enable.
    The Global configurations:
    ip multicast-routing.
    I have the transmitter PC on vlan 51 i transmit to 230.0.0.50 group an im trying to recive on vlan 80. The vlans configurations are:
    Vlan 51
    ip address x.x.31.254 255.255.255.0
    ip pim sparse-dense-mode
    Vlan 80
    ip address x.x.80.1 255.255.255.0
    ip pim sparse-dense-mode
    I have 2 Cisco 2960 (L2 only) for the access.
    The principal commands outputs are:
    CORE1#show ip mroute | inc 230.0.0.50
    (*, 230.0.0.50), 01:50:50/00:02:21, RP 0.0.0.0, flags: DC
    CORE1#
    CORE 1
    interface Vlan1
    ip address x.x.1.1 255.255.0.0
    ip access-group 101 out
    no ip unreachables
    ip pim sparse-dense-mode
    mls rp ip
    interface Vlan51
    ip address x.x.31.254 255.255.255.0
    ip access-group 151 out
    ip helper-address x.x.x.x
    ip helper-address x.x.x.x
    no ip unreachables
    ip pim sparse-dense-mode
    mls rp ip
    interface Vlan80
    ip address x.x.80.1 255.255.255.0
    ip access-group 150 out
    no ip unreachables
    ip pim sparse-dense-mode
    glbp 80 ip x.x.80.254
    glbp 80 timers 5 18
    glbp 80 timers redirect 600 7200
    glbp 80 priority 254
    glbp 80 preempt delay minimum 60
    glbp 80 authentication text glbpkey
    glbp 80 forwarder preempt delay minimum 60
    CORE2
    interface Vlan1
    ip address x.x.1.4 255.255.0.0
    ip access-group 101 out
    no ip unreachables
    ip pim sparse-dense-mode
    mls rp ip
    interface Vlan51
    ip address x.x.31.2 255.255.255.0
    ip access-group 151 out
    ip helper-address x.x.x.x
    ip helper-address x.x.x.x
    no ip unreachables
    ip pim sparse-dense-mode
    shutdown
    mls rp ip
    glbp 51 ip x.x.31.254
    glbp 51 timers 5 18
    glbp 51 timers redirect 600 7200
    glbp 51 preempt delay minimum 60
    glbp 51 authentication text glbpkey
    glbp 51 forwarder preempt delay minimum 60
    interface Vlan80
    ip address x.x.80.2 255.255.255.0
    ip access-group 150 out
    no ip unreachables
    ip pim sparse-dense-mode
    shutdown
    mls rp ip
    glbp 80 ip x.x.80.254
    glbp 80 timers 5 18
    glbp 80 timers redirect 600 7200
    glbp 80 preempt delay minimum 60
    glbp 80 authentication text glbpkey
    glbp 80 forwarder preempt delay minimum 60
    end
    Someone can help?
    Thanks,
    Alfredo

    Hi johnd...
    Im using VLC 1.1.2 (i can not update because i have a DVDT2 card to capture the digital terrestrial television and it only work in this version). I have all the firewalls down.
    This is the output for the show ip igmp snooping groups on the 2960.
    80        230.0.0.50               igmp        v2          Gi1/0/21, Gi1/0/24
    Port G1/0/21 is where the receiver is conected and the 24port is the trunk.
    Jon, i revert and this is the output. I put the ip pim rp-address the same of the lookpback that i create previously.
    (*, 230.0.0.50), 00:37:46/00:02:19, RP 192.168.230.230, flags: SJC
      Incoming interface: Null, RPF nbr 0.0.0.0
      Outgoing interface list:
        Vlan80, Forward/Dense, 00:09:52/00:00:00
    The strange thing is that I have more than 40 vlans and it only fail in some vlans like 80.

Maybe you are looking for