1

Topic: VPN x TCP Connection

Hello, I am testing SmartInspect and am having a problem. I'm connected to a VPN through my laptop (Win XP PRO). I run my application on the terminal (Win 2003 Server) and I track it in SmartInspect, but I'm not getting.

I used netstat on my notebook and I found the following information:

PROTO     LOCAL ADDRESS     FOREIGN ADDRESS   STATE
==================================================
TCP         10.0.0.112:1250     10.10.5.65:3389      ESTABLISHED
TCP         10.0.0.112:4228      0.0.0.0                    LISTENING
TCP         10.0.0.112:139        0.0.0.0                    LISTENING

I ran netstat on the terminal and I found the following information:

PROTO     LOCAL ADDRESS     FOREIGN ADDRESS   STATE
==================================================
TCP         10.10.5.65:3389     10.0.0.112:1250       ESTABLISHED

What would the C # code in my application that will run the terminal, to establish guidelines through a VPN connection between my notebook and the terminal?

Who was the host and what is the door?

The correct syntax in C# would be this:
SiAuto.Si.Connections = "tcp (host = 10.0.0.112, port = 4228)";

Thank you.

2

Re: VPN x TCP Connection

Hello Alvimar,

Thanks for your request.

Alvimar wrote:

Hello, I am testing SmartInspect and am having a problem. I'm connected to a VPN through my laptop (Win XP PRO). I run my application on the terminal (Win 2003 Server) and I track it in SmartInspect, but I'm not getting.

[..]

Who was the host and what is the door?

The correct syntax in C# would be this:
SiAuto.Si.Connections = "tcp (host = 10.0.0.112, port = 4228)";

The IP address and port look right to me. Are you sure that your server can connect to your desktop machine this way? That is, are you sure there are no firewalls/routers between the machines that do not allow this type of connection? For example, a firewall might prevent your server from connecting to your desktop on the SmartInspect port (4228).

There's an easy way to test this. On your server, just try to connect to the SmartInspect Console with the built-in telnet client. I.e., just try to open an connection from the command box while the SmartInspect Console is running on your desktop machine:

telnet 10.0.0.112 4228

If you you cannot establish a connection, there's a problem with a firewall/router. You might be able to switch to another port in this case (you can change the port the Console is listening on in the Console's option dialog).

Please let me know if this helps. Thanks!

Regards,
Dennis

Dennis Gurock,
Director & Co-Founder
Gurock Software