EmbeddedRelated.com
Forums
Memfault Beyond the Launch

TCP/IP using gateway not working.

Started by dirk_the_stryker April 18, 2013
I use BL2600 single board computers for data acquisition. I then use a Visual C# program to connect to the boards and analyze the data using a tcp socket connected to the BL2600. The BL2600 acts as the server using tcplisten().

The software connects to the BL2600 just fine over a local network. However, if I try to connect remotely through a gateway, it will not connect. I can ping the IP address of the BL2600, but the board refuses socket connections. I made sure it wasn't a firewall problem on the PC side. The gateway address is set correctly on the BL2600.

Has anyone else had this problem?

On 4/18/2013 3:07 PM, dirk_the_stryker wrote:
> I use BL2600 single board computers for data acquisition. I then use a Visual C# program to connect to the boards and analyze the data using a tcp socket connected to the BL2600. The BL2600 acts as the server using tcplisten().
>
> The software connects to the BL2600 just fine over a local network. However, if I try to connect remotely through a gateway, it will not connect. I can ping the IP address of the BL2600, but the board refuses socket connections. I made sure it wasn't a firewall problem on the PC side. The gateway address is set correctly on the BL2600.
>
> Has anyone else had this problem?

I take it you have a router forwarding a port to the BL2600?

How are you trying to access the IP?

Many routers won't work if you try to access the IP through the same
connection as they don't support loopback.

--
------
Scott G. Henion, Consultant
Web site: http://SHDesigns.org
------

It is actually a company network. We have facilities in several
different locations/states. All of their networks funnel through our
corporate office. I'm going to check with our corporate IT guy and see
if I'm hitting a firewall or something.


Memfault Beyond the Launch