TCP works on different networks

Hello

I have a problem with the TCP/IP communication.

I write a program of communication TCP/IP (client-server) and it works fine when I tested it at the office (same network). But when I tested the program when server and client VI are connected to different network I have no communication.

TCP/IP works when client.VI and server.VI are connected to different networks? If this isn't the case, someone suggested what protocol to use? Problem is this server VI must be in format exe but customer VI must be opened for editing.

Thank you

I think we need to clear up some things before going into the details "debug".

First, when we talk about 'networks', I expect to see 'LAN' (local area network). A LAN often uses a dedicated identification "subnet", which is a combination of the IP address and the subnet mask. The subnet mask defines which part of the IP address refers to the identification of LAN, the "rest" of the intellectual property refers to the specific PC.

An IP address (4) consists of four bytes, a given subnet mask instruction on how many bits and bytes are the ID 'LAN '. Subnet masks are often 255.255.255.0.

When you say "work in the office (same network)", you want to: same subnet. Fix?

(All IP addresses share the same values in the bytes of the subnet mask, but differ in the rest. Example: PC has 192.168.1.12, subnet 255.255.255.0. PC B 192.168.1.15, subnet 255.255.255.0).

If the PC are NOT in the same subnet, it depends on the configuration of the network on how to proceed. If there is a "direct connection path" from A to B, just simply the target IP address (for example a 192.168.1.15, subnet 255.255.255.0, B 11.88.2.126, works of subnet 255.255.255.0 if 192.168.1 subnet has a direct connection to the 11.88.2 subnet).

If there is NO direct link, you need to "port forwarding" on the hardware (router) inbetween. This can become quite difficult.

So according to the purpose of this request, you may be better redefine architecture approach to loading dynamic components in your application.

Norbert

Tags: NI Software

Similar Questions

  • Connect to different networks (with or without proxy)

    Hi all.

    I'm working on a project where I need to be connected at least two different networks. One of them is used to communicate with the wireless IP cameras (using ActiveX Axis Media Control), and the other is necessary to access the internet and load the Google maps (using an ActiveX from Microsoft Web Browser control). I'm at University and the internet connection is through a proxy server.

    I don't know much about networks and HTTP requests, but I notice that if I set up Internet Explorer to work through the proxy, I am able to navigate in GoogleMaps, but there is no way to access the IP cameras. And if I set Internet Explorer to work without a proxy, I get exactly the opposite.

    Could you help me?

    Thanks in advance.

    Kind regards
    Francisco

    Hi Porras,

    Try to create an exception for your proxy server - see attached pictures (Win XP SP3).

    Note: These proxy exceptions can be created programmatically, by editing the Windows registry.

    See you soon.

  • Connect the 2 locations using RV016 router to fill 2 different networks.

    I have a RV016 connected to a comcast cable modem to slot 1 with IP 192.168.6.1

    I have a RV016 connected to a comcast cable modem at the 2 with 192.168.10.1 IP location

    I installed a VPN tunnel from gateway to gateway between 2 routers RV016.

    I have a LAN in slot 1 with the IP 192.168.1.1, which connects to the internet through an Adtran router with 4 lines of T1 servile.

    I have a LAN with IP 192.168.5.1 2 location that connects to the internet through an Adtran router with 3 T1 lines servile.

    I like a computer to location 2 to connect to the RV016 in the local Comcast modem to the Comcast modem at location 1 in the RV016 to slot 1 then go out to the local network at location 1 and communicate with an application server on LAN 1.

    Help, please.

    You can't do that with a RV016. The RV016 only supports layer 3 tunnel. This means that the two ends are different networks with different subnets. The traffic between them is not filled.

    If you want to really two bridged networks, i.e. join in a single LAN with a single IP subnet and a single broadcast domain you need a layer 2 tunnel, for example a tunnel L2TPv3. That works on layer 2, which is on the MAC addresses inside your networks. In this way, you can use the same IP subnet at both ends and on each side, it seems that the other side is connected to the same ethernet network.

    The RV016 does not support the tunneling of layer 2. You can create an IPSec tunnel, which is layer 3. If there is really a need for a tunnel layer 2, you get different devices. I recommend that you evaluate if a layer 2 connection is really necessary or not.

  • Q: Connection Manager connections of raspberry on different network devices

    Hello

    I have a raspberry pi in my office and a Windows virtual machine image running in my lab and they are on different networks (RPi in Austin) and Windows WM Coloroado and when I try to connect to the raspberry of Pi using the devices connection manager I can't get a connection. The State tells me 'Sign in' and the usertest.sh script is run on the RPi with no message in the window where I started usertest.sh.

    I can access the RPI using Putty to my Windows 7 client, then there is a network connectivity.

    I use Java ME 8 Early Access 2 and my Windows VM running Windows 7.

    What I'm missing here, it should work?

    Thank you

    Andy

    Hi Andy,.

    It's the network settings of your windows in the control panel. If for some reason you have set socks proxy the affects the connection of the otbound in the Device Manager the device

    Andrey

  • Two VMS on different networks and ping each other

    Hello

    I'm using VMware Workstation for the first time. I have two VM and I want them to be on two different networks. I want that networks be able to ping each other. I did research on this since yesterday and nothing seems to work. Perhaps I am confused with the bridge, the Nat and host-only adapters. What I have is:

    VM1-> has two network adapters: VMNET1-Host-Only (192.168.247.128) and VMNET8-NAT (192.168.42.130)

    I'm not able to have the internet connection on the HOST only

    VM2-> has a network card: VMNET8-NAT (192.168.42.129)

    Each virtual machine I can ping everything on the other virtual machine, but it seems a little odd.

    Is there another way to do this?

    Thank you very much

    Geneviève Nantel

    Although you can create several networks in VMware Workstation, there is no possibility of embedding to do the routing.

    André

  • Guests on different networks?

    Hello.

    I wish some of my guests 10.0.0.0 and some on 172.16.0.0.

    My internet gateway is on 192.168.1.0

    Is it possible for 10.0.0.0 and 172.16.0.0 to talk to each other and to access internet?

    If so how would I do it?

    Do I need to configure a virtual router Windows? With the help of 2008R2 only.

    Thanks, I hope someone can help me with this.

    Armann wrote:

    "Then, you two physical NICS.

    OK is not good since I am running this on my laptop.

    To connect to two different networks (IP subnets) at the same time, you always have one active network card in each network.

    I just need to be able to use the computers on different subnets to be able to

    to use Sites in Active Directory.

    At the same time? If not, a NETWORK adapter is sufficient.

    But if I had on 172.16.10.0 and other guests on 172.0.17.0?

    Would still need two network cards?

    Only if you connect to these networks at the same time. If you have another feature of routing on the network, you can connect to a network and use the external router to enter the other network.

    "Windows (OS Server only) or Linux.

    Windows servers only.

    Then, you need to install 'Routing and RAS' If you want to route between two networks. If only the virtual guest or your host must speak with the two networks (assumed you have two physical network adapters), you don't need routing. Routing is necessary if your host or virtual guest connects two networks so that other hosts can use this router to connect to the other network.

    I'm guessing that's not possible on a single computer laptop

    Varies according to the number of physical network adapters.

    Hmm maybe if I buy a usb network card now that might work?

    Yes.

    AWo

    VCP 3 & 4

    Author @ vmwire.net

    \[:o]===\[o:]

    = You want to have this ad as a ringtone on your mobile phone? =

    = Send 'Assignment' to 911 for only $999999,99! =

  • RAC nodes on two different network segments, what can go wrong?

    Two-node RAC, what are the disadvantage if both nodes are on different network segments?
    So the two node will be have a public interface on different segment, but interconnection will be on the same segment.
    The two nodes have the same gateway and two network segments goes to the same switch.

    It's Solaris, Oracle 10 g (10.2.0.4)

    Hello

    Public IP addresses and virtual IP addresses must be in the same subnet.

    This is necessary because the VIP - IP (two nodes) should work on two public networks.

    Recently I've set up RAC extended with diferent networks (subnet). When all nodes is all that is very well. But when a node down, clusterware node gel survive because he trying vip - ip (different subnet) node configuration on the node down to survive.

    Kind regards
    Levi Pereira

  • I have iphone 5 c. I've updated new version 10.0.2. Now Weather app is working for different cities but does not not for my site which has already been demonstrated in latitude and longitude. Similarly maps application also does not work for my site

    I have iphone 5 c. I've updated new version 10.0.2. Now Weather app is working for different cities but does not not for my site which has already been demonstrated in latitude and longitude. Similarly maps application does not also work for my site.

    Settings > privacy > location Services > confirm you always give permission to these applications to use your location.

    If not, try these standard troubleshooting steps.

    -Reset: hold the Home and Power buttons until you see the logo Apple (10-15 seconds).

    -Restore your iDevice: https://support.apple.com/en-us/HT204184

    If your backup is in iTunes, make sure that it is encrypted.

  • Time Capsule backups of different networks?

    I have a Time Capsule that serves ONLY to expand my current network, but is also used for the backup of a single computer through Time Machine. If I take this time capsule to a new place, which has a different network I can configure it to join the new network and continue the backups Time Machine to a computer (which moves with it) without losing any old backups? If so, how can I say to join the network at the new place.

    Thank you

    Roger

    The time Capsule cannot 'join' a wireless provided third-party router, if that's what you're asking.

  • Installed at El Capitan and now HP printer does not work via the network

    Installed at El Capitan and now HP printer does not work via wireless network

    Open system preferences > printers and Scanners and select the print tab.

    Then the right or control click on the HP printer on the left then click: reset the printing system

  • G780 wireless doesn't work anymore; the networks are but cannot connect

    I have a G780 bought earlier this year. It came with Windows 8, which I still use. Everything was working fine until today. All of a sudden I can't connect to my wireless network (I have a router that can have a 'network of comments' in addition to normal and I can not connect to one of these). I had been fiddling with the settings last night, but everything was working well. I can connect with other devices, so I know that the networks work.

    Networks appear in the list of available networks, but every time I try and connect it just doesn't work. To make sure that I wasn't just typing the wrong passwords I tried to disable all security on one of the networks (so it was a totally open network without password), and the laptop still unable to connect. I tried to reboot the router wireless, by restarting the computer, update the driver for the wireless card, uninstall the drivers and reinstall them, activation and deactivation of the wireless card, by unchecking the option to disable card wireless to save energy and last computer ditch effort that I even did this "Refresh" of Windows 8 option that uninstalls all programs you install and resets the default options. Which included also to uninstall my antivirus program, so I tried to connect without that too. Nothing has made any difference.

    Edited to add that I also downloaded and ran the diagnostic tool on the Lenovo site for my laptop and the version of Windows for wireless network problems and it did not show anything.

    I'd appreciate really no indication as to what to do next. I'm good enough at the end of my mind with this.

    It's the weirdest thing ever. I decided to give it a try once again just for the heck of it and like magic it works all of a sudden. I can now connect to two networks very well. I have nothing after my last try yesterday evening except put the computer into hibernation... I don't know how it works now, but I appreciate the help! I'll create a restore right now, just in case. Thanks for your replies!

  • Please HELP Fn key doesn't work not wireless working not and network card drivers is not install

    Hello

    Yesterday I bought the computer hp laptop 15-d103tx, but after installing windows 7 64 bit. button fn laptop computer keyboard does not work, Wireless does not work and the network adapter are not installing... is there a hardware problem or is it because of unavailibility of pilots. If it's the driver please suggest drivers

    will be all of your quick response

    Thank you

    Hello:

    Here is the link of the wireless driver you need:

    http://h20565.www2.hp.com/portal/site/hpsc/template.PAGE/public/psi/swdDetails/?spf_p.tpst=swdMain&spf_p.prp_swdMain=wsrp-navigationalState%3DswItem%253Dob_128686_1&javax.portlet.begCacheTok=com.vignette.cachetoken&javax.portlet.endCacheTok=com.vignette.cachetoken

  • M476dn: Printer in two different networks - is it possible?

    I got the following requirement:

    Printing from iPad should be possible on one of our network printers. As known, Apple Airprint is available only via WiFi. Question: Network printers are in another network than iPads.

    My idea:

    -Buy a Wifi capable HP printer network (for example. M476dn)

    -Configure the LAN port for normal office network (printer connected to the network via a cable)

    -Configure the printers WiFi interface for the Wifi network, which is used by iPads

    Then the PC and laptops should be able to print via normal office network (print server) and iPads via Airprint.

    Question: Is it possible to set up a printer HP in this way, so that it is located in two different networks? Especially the M476dn this would support? I would like to clarify this point of course before buying a ;-)

    In fact the user must move the network for printing.

    It is the only possible option I can think, other then get a different printer for each network.

    Kind regards

    Shlomi

  • Working with different screens

    Hi all

    I work with different screens in my application.

    I have a screen with 4 tabs. Each tab to the click should show another screen on the device. But I want to open the instance of each form only once and then run these screens on the pile of on-screen display desired to carry forward and pushing others in the background.

    But the problem is that when I try to use pushScreen() for a screen that has already been posted once before, I get an error that says I'm trying to push a screen that is already displayed. But infact the screen isn't the active screen? How can I now do this instance of the form on the front?

    can someone tell me how can this be achieved?

    Thank you

    You can also use a system with a single screen containing your 4 tabs and a Manager.

    Instead of pushScreen you just replace the Manager with another, which contains everything you need to display.

  • IPSec over TCP works on VPN 3030 interface (3) external?

    I configured the third external interface and can connect with the ESP and UDP tunnel, but not with IPsec over TCP.

    The customer says:

    Unexpected TCP control packet received a.b.c.d, src port 10000, port dst 4408, flags 14: 00

    the hub said nothing, although I tried several event classes

    the document said "IPSec over TCP works with the VPN client software and hardware VPN 3002 client. It only works on the public interface. It is a client to the function of hub only. It does not work for LAN-to-LAN connections. "

    This means - it works on the public interface real, physical?

    or it should work on the external interface if I click on the checkbox to its public interface?

    Thanks for any advice,

    Martin

    IPSec over TCP is designed to operate only on the real public interface #2.

    There were a few technical reasons behind it, among them:

    (1) some clients cancel their tunnels on the private interface (one-arm-config) and that would cause a headache when trying to HTTP through the VPN 3000 if IPSec/TCP has been installed for Port 80/443. We decided to pull out of the private Interface.

    (2) that the external interface #3, we have chosen not to enable IPSec/over TCP Dynamics fielterso n it mainly because of the load balancing.

    Since the LB only works on real public interface #2, even once, we chose to leave

    IPSec/TCP out of it.

    Nelson

Maybe you are looking for