Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Login
  • Contact Us
English (UK)
US English (US)
GB English (UK)

You Bring the MFT Questions

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

Popular Topics: Public,

  • Home
  • Public

Checking Firewall access

Written by Richard Auger

Updated at September 8th, 2023

  • Public
    Vendor - Specific
+ More

One of the most common issues that affects File Transfer is network connectivity.

You can check that your firewall is correctly configured by opening powershell on the source machine and checking that you are able to reach the destination server on the expected port.

The command to check this is:

Test-NetConnection <servername> -port <portnumber>

For example Test-NetConnection myserver -port 22

This gives output similar to the following:

ComputerName     : myserver.com
RemoteAddress    : 123.123.123.123
RemotePort       : 22
InterfaceAlias   : Wi-Fi
SourceAddress    : 192.168.10.152
TcpTestSucceeded : True

Test-NetConnection can be abbreviated to TNC

There are two potential problems with this method for resolving firewall issues - the first is that only TCP is supported (not UDP), the second is that if the listener is not actively running, the test will fail.

The second issue can be addressed by using the following command on the target server in powershell:

$Listener = [System.Net.Sockets.TcpListener]22;$Listener.Start();

(Replace 22 with the port required)

This creates a listener.  Once you've done this, you can run the Test-NetConnection

Finally, after you have tested, you can stop the listener again by issuing this command:

$Listener.Stop();

access audit firewall check

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  1. How to Contact Pro2col Technical Support

     481 views of this article

Copyright © 2025 Pro2col Ltd

Terms of Sale

Privacy Policy

Support T's & C's


Knowledge Base Software powered by Helpjuice

Expand