Can't open TCP connection when two network adapter are enabled

Hi all, 
I've an applicaiton that connect using "TCP Open Connection". The applicaiton is running on a computer have two network adapters configured to be on two different network.
When I start the application, if both network adapters are enabled, connection is not created (timeout). When I disable the network adapter which is not configured for the network I need, connection is succesfull.
- How can I choose which adapter to use to open the connection, as LabView seems enable to select the good one.
- Or I can I disable a network adapter (just for the connection time) 
I'm using LabView 8.5 Full on Windows XP.
Thanks for your help

This is generally a routing issue. The OS will route connections to your primary network if it is not a direct route. For example, one network is 10.3.4.x (primary network) and the other is 192.168.1.x.with a subnet of 255.255.255.0. Now, let's say you want to reach a device with an 192.168.2.x address. The OS will try to route this through the primary network but is has no route to reach the 192.168.2.x subnet. Therefore your connection fails. You can add a permanent route to your computer to force specific address ranges to specific NICs. Use the ROUTE ADD command which is part of the OS. If you are trying to reach the computer using a name instead of the IP address the issue is basically the same but a but more challenging to resolve. The OS will do th elookup on your defined DNS servers. They generally do not have knowledge of local private networks and therefore can't resolve the name. In this case you need to create a more involved network infrastructure to update the name server. Probably not something that is feasible to do.
Mark Yedinak
"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot

Similar Messages

  • Can't open tcp connection to qnx

    I want to use TCP/IP to connect to a machine running QNX.  I can telnet into QNX using windows, but when i try to connect using Labview TCP, i get a weird data stream back:
    ÿýÿý ÿý#ÿý'ÿý$  (Normal string display),  or  FFFD 18FF FD20 FFFD 23FF FD27 FFFD 24 (HEX display), plus I get error code 56 (timeout on the read).
    When i use the same vi to access another product (not running QNX), I get 0D0A 2D2D 3E  and an open communication path, everything works as it should.
    In each case, I'm using the IP address and port 23 (telnet) to access.
    Any ideas on how to connect to QNX using TCP/IP utilities?
    Attachments:
    simple.read.vi ‏16 KB

    I think the data you are seeing is part of the telnet negotiation sequence. http://www.faqs.org/rfcs/rfc854.html
    A telnet session is more complex than opening a TCP socket.
    I would suggest using the LabVIEW Internet Toolkit for telnet communications.
    Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
    If you don't hate time zones, you're not a real programmer.
    "You are what you don't automate"
    Inplaceness is synonymous with insidiousness

  • TCP connection for DHCP failover frequently are broken in Solaris 10

    Hi
    We have two dhcp servers which are installed in Solaris 10 and set to a failover pair. Currently, we can find that tcp connection for dhcp failover protocol are frequently broken. It looks like that primary dhcp server initiatively send FIN message to secondary one but in general, this tcp connection should always keep alive. On the other hand, the tcp connection can not completely be closed right now which FIN_WAIT_2 status in Primary one and CLOSE_WAIT status in secondary would last for a long time.
    Will Solaris 10 cause this fault? Is it a known bug in OS?
    OS info:
    -bash-3.00$ cat /etc/release
    Solaris 10 5/08 s10s_u5wos_10 SPARC
    Copyright 2008 Sun Microsystems, Inc. All Rights Reserved.
    Use is subject to license terms.
    Assembled 24 March 2008
    -bash-3.00$
    -bash-3.00$
    -bash-3.00$ uname -a
    SunOS edns1 5.10 Generic_142900-03 sun4v sparc SUNW,Netra-T5220
    TCP connection info:
    Primary DHCP Server:
    2012 08 29 03:41:43
    PING 172.25.6.137: 56 data bytes 64 bytes from edns2 (172.25.6.137): icmp_seq=0. time=0.678 ms
    remote refid st t when poll reach delay offset disp
    ==============================================================================
    *idns1           195.26.151.151   3 u   45 1024  377     0.75   -0.071    0.05
    +idns2           195.26.151.151   3 u  162 1024  377     0.93    0.169    0.08
    clusternode1-pr 0.0.0.0 16 - - 1024 0 0.00 0.000 16000.0
    +clusternode2-pr idns1            4 u  406 1024  376     0.49   -0.154   15.12
    172.25.6.133.647 172.25.6.137.58107 49640 0 49640 0 ESTABLISHED
    172.25.6.133.647 *.* 0 0 49152 0 LISTEN
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    2012 08 29 03:41:47
    PING 172.25.6.137: 56 data bytes 64 bytes from edns2 (172.25.6.137): icmp_seq=0. time=0.535 ms
    remote refid st t when poll reach delay offset disp
    ==============================================================================
    *idns1           195.26.151.151   3 u   49 1024  377     0.75   -0.071    0.05
    +idns2           195.26.151.151   3 u  166 1024  377     0.93    0.169    0.08
    clusternode1-pr 0.0.0.0 16 - - 1024 0 0.00 0.000 16000.0
    +clusternode2-pr idns1            4 u  410 1024  376     0.49   -0.154   15.12
    172.25.6.133.647 172.25.6.137.58107 49640 0 49640 0 FIN_WAIT_2
    172.25.6.133.647 *.* 0 0 49152 0 LISTEN
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Secondary DHCP Server:
    2012 08 29 03:41:41
    PING 172.25.6.133: 56 data bytes 64 bytes from edns1 (172.25.6.133): icmp_seq=0. time=1.26 ms
    remote refid st t when poll reach delay offset disp
    ==============================================================================
    *idns1           195.26.151.151   3 u  450 1024  377     0.92   -0.067    0.06
    +idns2           195.26.151.151   3 u  552 1024  377     0.96    0.237    0.08
    +clusternode1-pr idns1            4 u  360 1024  377     1.85   -0.528    1.51
    clusternode2-pr 0.0.0.0 16 - - 1024 0 0.00 0.000 16000.0
    172.25.6.137.647 *.* 0 0 49152 0 LISTEN
    172.25.6.137.58107 172.25.6.133.647 49640 0 49640 0 ESTABLISHED
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    2012 08 29 03:41:45
    PING 172.25.6.133: 56 data bytes 64 bytes from edns1 (172.25.6.133): icmp_seq=0. time=1.36 ms
    remote refid st t when poll reach delay offset disp
    ==============================================================================
    *idns1           195.26.151.151   3 u  454 1024  377     0.92   -0.067    0.06
    +idns2           195.26.151.151   3 u  556 1024  377     0.96    0.237    0.08
    +clusternode1-pr idns1            4 u  364 1024  377     1.85   -0.528    1.51
    clusternode2-pr 0.0.0.0 16 - - 1024 0 0.00 0.000 16000.0
    172.25.6.137.647 *.* 0 0 49152 0 LISTEN
    172.25.6.137.58107 172.25.6.133.647 49640 0 49640 0 CLOSE_WAIT
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Thanks!

    Thanks, but had found a previous discussion with this hint and applied it.
    svccfg -s sendmail listprop shows config /local_only = false
    Yes, I would really love to fix the fault, but what I would really like is some hints as to how to debug ports under svc control.

  • I can't open certain website when I am on the 4G LTE network.

    And it isn't just my phone others can't open them either when on the network. What causes this. They open when my phone is on wifi?

    beyerbeware,
    Look no further help is here! What websites are you trying to access on your cell phone? What happens when you try accessing those website? Are you getting an error message? Have you been able to access them in the past?
    JohnB_VZW
    Follow us on Twitter @VZWSupport

  • Connecting to two networks at the same time

    Hi Kadin,
    I am looking for the same answer for a long time. I have two situations that requires to connect to two different metworks and that is when I travel with my portable Linksys router WRT54GC .
    1. I stay at a hotel with a wireless Internet network connection and I try to use the network to access the Internet and then (2) I also need to access my external Maxtor harddrive to which I am connected through my portable router WRT54GC .
    2. I have an almost identical situation but instead of the hotel network now I have a brand new T-Mobil cell phone made by ITC, which is called Wings and it uses a new way to connect my laptop to the Internet by using a Windows Mobile 6 Internet-share connection, which basically connects my laptop to the T-Mobile network and assigns it a IP address.
    The problem that I have is that in both cases I can connect to each one of the networks separately but not simultaneously.
    Any advise as to how this can be done. I also tried the Wireless WET54G as a bridge with similar negative results.
    Thanks,
    Pole

    Ok not real clear on your setup, but here is the "networking answer" why you can not connect to two networks.
    A device must have an IP address on the same subnet of the device you want to establish a connection or an IP route must be known to the network routers, since your internal address are most likely in the reserved private range, no internet router is not going to know how to deliver the packets to the correct hosts.
    the simple answer is assign a secondary IP address to the network adapter on your laptop.
    In the windows IP address properties for secondary address you can not set a default gateway. Windows only has 1 default gateway.
    good luck
    jwm

  • Connect to two networks, ethernet(LAN w/o internet), wireless(w/ internet)

    so i'm trying to connect to two networks, a wireless and a wired one
    the wireless(which connect to an access point) is a network which allows me to connect to internet, and the wired(regular router) one is a small home local network, which does not connect to internet.
    if i just have the wireless one on, unplug/disable wired one, i can connect to internet just fine, but if i do plug in ethernet cable, then all of the sudden i can't connect to internet anymore.
    in my Network Coonections window, it does show that the wireless one has "Access to Network and Internet" while the wired one has "Access to Network only". I'd assume that the computer is smart enough to find its way to internet, but apparently not.
    is there a way to set a preference, so vista tries to find internet conncetion thru wireless first, before go on to the wired network?
    I konw this is technically possible, because on my mac, i can set in such way that it takes certain connection first
    thanks in advance

    I think I am getting it but still no joy.
    On the WiFi connection to FIOS Router I have manually set metric to 1.
    On Same PC in Ethernet I have removed gateway and set a metric to 10.
    Before I did this connection to Internet was very slow when the Ethernet cable plugged in and Interface Enabled. After removing gateway and setting metrics access to Internet AOK.
    I have working Homegroup, network printer but no Internet access from Hardwired PC.
    Cannot ping FIOS router @ 192.168.1.1 from hardwired PC. Destination host unreachable.
    NMAP Quick Scan 192.168.1.* never sees 192.168.1.1
    So, I'm still not routing properly.
    ken wood it director tlw sports company, llc the states
    ===========================================================
    ==========================================================
    Anyone can help me? 
    I somehow tried to delect the waste items in my computer.  However, I accidently delected Wireless internet LAN.  After that, my wireless won't work anymore.  How can I search and do the download so my wireless is back to work?  What
    is the whole name?
    Thanks,
    Yangpal

  • FTP exception: Can't open passive connection: Permission Denied

    I have a File sender adapter, with FTP as transport protocol.
    The adapter polls a directory each 60 seconds.
    All works perfectly but <b>sometimes</b> I get the following error :
    Channel CC_GBL_FlatFileSender: Error connecting to ftp server ...: com.sap.aii.adapter.file.ftp.FTPEx: 425 Can't open passive connection: Permission denied.
    And 60 seconds after, no more error.
    Any idee of why I get this error occasionally ?
    In the sender file adapte, data connection is set to Passive.  Do I have to set it to Active ?
    Thanks in advance,
    Laurence

    Hi
    Data Connection
         -  Active
    In active mode, the server establishes a data connection from its data port, port 20, to an end point chosen by the client.
         -  Passive
    In passive mode, the client establishes a data connection to the port required by the server.
    The default setting is a passive data connection. Only change this setting if you have a specific reason. This is what is recommended by SAP.
    It is possible that Passive FTP mode may terminate session.
    In this mode the server "listen" on a data port (which is not its default data port) and to wait for a connection rather than initiate one upon receipt of a transfer command. The response to this command includes the host and port address this server is listening on.
    In the FTP protocol two ports are normally used, 20 and 21.
    Port 21 is the control channel in which requests such as PUT, GET, and PWD are sent to the server.
    Port 20 is the data channel in which actual files, folders and directory
    listings are sent.
    Normally, when you connect to an FTP site, the site establishes the data
    connection to your PC (the client) on Port 20. However, if the site allows
    passive transfers, you can have your PC establish the data connection. It is
    recommended that you use passive mode for most transfers.
    Regards
      Sumit Jain
    **Reward with points if you find it useful.

  • Error: Failed to open the connection when opening Crystal Report in CMC or

    Hello all,
    I am getting theError: Failed to open the connection when opening Crystal Report in CMC or Infoview
    with access database as the datasource which is in the network drive.

    Hi Sonali,
    This is because Crystal Reports does not recognize database connection from share drive
    1. Save the database locally on server machine
    2. Create a new database on server and link the new database with the database on Network.
    Steps to link the database.
    1.Create a new test database on server.
    2. Go to File --> Get External Data --> Link tables | Select the database on Network Drive.
    3. Select all the tables from the database.
    4. Save the Database  e.g. Test.mdb.
    5. Create an ODBC Connection on server machine, with the same name as on client machine using test.mdb database.
    Note: Click on Advanced button, enter the default user id and password for the odbc connection, it is not mandatory to give Login Name and Password, only if the user id and password are given then we need to provide the same user id and password in the CMC database configuration.
    6. Create a report using this ODBC connection, and save the report to Enterprise.
    Regards,
    Navin

  • Why I can't open pdf files when surfing with safari?

    I can't open files pdf when surfing using Safari. An error message says I need to launch Adobe Acrobat, but I can't find where. What can I do?

    Adobe Reader installed?  If so remove Reader.
    Macintosh HD > Library > Internet Plug-ins
    Look for these two files.
    AdobePDFViewerNPAPI.plugin
    AdobePDFViewer.plugin
    Right click those and select “Move To Trash”.

  • I can't open my phone when i just finish update to ios7.0.3

    i can't open my phone when i just finish update to ios7.0.3
    it's always show me "connect to iTunes"
    I try to restore I phone to factory setting, then restore backup, but it's  useless:
    and I try to restore from iCloud Backup, but it was the same
    I want to know about that, how can I open my phone  and have all data back?
    Cause the data for me is very important.
    thank a lot.

    Alright; first thing we need to confirm is do a full restore, and see if you get any kind of error message. During the set up assistant you then want to see if you have any backups in iTunes/iCloud by using this article to see where they are located
    http://support.apple.com/kb/HT1766?viewlocale=en_US
    For iTunes
    To verify that the backup finished successfully, open iTunes Preferences and select the Devices tab. The name of the device will appear along with the date and time the backup was created.

  • I am running Vista and Windows Mail, I can not open PDF files when in Windows Mail, I must save to Desktop first, this has changes recently and I do not know why or how to fix

    I am running Vista and Windows Mail, I can not open PDF files when in Windows Mail, I must save to Desktop first, this has changes recently and I do not know why or how to fix.
    Why after 6 year's this has changed?
    I would like to open PDF's straight from Window Mail.

    Good day Jeff.
    I am running most current Adobe Reader X.
    Tks Mark

  • Can i use home sharing when two different apple accounts are on the same computer?

    will home sharing work when two iTunes Libraries are on the same computer?

    Can you be more clear about what you mean. More detail please.
    Is this the solution you are looking for?
    Log in to both user accounts and launch iTunes. Turn on Home Sharing from the 'Advanced' menu at the top of the screen.
    Leave iTunes running and use Fast User Switching to switch between user accounts. You will notice that each user's library of media is available to the other user and you can copy media from the other user to the current user's account.

  • I can't open iTunes. When I do it says "The iTunes application could not be opened. An unknown error occured (13014)."

    I can't open iTunes. When I do it says "The iTunes application could not be opened. An unknown error occured (13014)."
    How can I get rid of this error message and open iTunes?

    are you running any anti virus software on your machine ?

  • Connect to two networks?

    I'm using my next door neighbors wi-fi (splitting the bill with him). I'm trying to use my AE in (Bridge? mode) connected to my Lacie external harddrive. I set up the AE "internet" for "Off (bridge mode)" and my external harddrive shows up under "disks".
    My problem right now is that I don't know how to connect to both the neighbors Wi-fi internet network and my AE to wirelessly access my external harddrive? Is it possible to connect to two networks? Or is there a better way of doing this?
    Any help is greatly appreciated.
    Thanks

    Hello ianbroste. Welcome to the Apple Discussions!
    In order to "combine" networks, your 802.11n AirPort Extreme Base Station (AEBSn) would have to be configured to extend the wireless range of your neighbor's router. This would (potentially) only work if his router is also another 802.11n AirPort.

  • I am using a MacBook Air, OS X ver 10.9.4, mail ver 7.3. Intermittently I can not open individual mails when double clicking on them. I must go out of mail and back in before mail will open.

    I am using a MacBook Air, OS X ver 10.9.4, mail ver 7.3. Intermittently I can not open individual mails when double clicking on them. I must go out of mail and back in before mail will open.

    Hi Eric
    Good idea, but I am still having the same problem.
    Thanks very much
    Neil Lilien

Maybe you are looking for

  • Print to multiple printers

    Hi, Could any one of you please tell me how to send the same page to multiple printers automatically ( without manual selection). Regards, Sandhya.

  • Is there a way  to break the dependencies

    Hi, I am loading a table offline and renaming that table with the main table. My code looks something like this. create or replace package body test as procedure a is begin execute immediate 'rename emp to tmp'; end a; procedure b is begin execute im

  • Error in OID ldap integration

    I'm trying to integrate Portal and OID authentication. I followed all the documentation in conf_ldap.pdf but I get the error:Unexpected errors (WWC-41400). Both the tnsping exproc_connection_data and lsnrctl status give the right result as stated in

  • How to find corrupted files

    With my 2 yr old macbook, I cannot update my recently purchased iphone 4 when an ipdate is available. I get message: "...device isn't eligble for requested rebuild." I have worked with Apple store Genius bar staff 4 times with no sucess.  Latest atte

  • How to reduce prompting for "Master password"

    I hope there may be a setting to address this issue... I have a number of passwords saved for various non critical web sites such as this forum. Recently I set a "master password" to protect my saved passwords. Whenever I open a page which has text b