Wikis - Page

SBM: How to test network connections from a server

1 Likes
When setting up a new environment, it is useful to test your network connection from the server and from your clients before ever installing SBM or AutoPass (APLS).  Here is one way to do this.
 
# Setup a Listener on the server
# Start PowerShell
# The next 2 lines command creates a listener that listens on port 9999 to verify connectivity to the server.
 
$Listener = [System.Net.Sockets.TcpListener]9999;
$Listener.Start()
   
 
Next test connectivity from the server and the client.  Use IP address, hostname and any DNS names that will be in use.  From a Powershell window on the server and client.  As you use Test-NetConnection, you may use port 443 if IIS is not running.
 
# Test the IP address of the server.
# Test the IP address of the firewall
 
Test-NetConnection 192.168.178.35 -p 9999
 
# Test the hostname.
Test-NetConnection myhostname -p 9999
 
# Test the FQDN of the host
Test-NetConnection myhostname.mydomain.com -p 9999
 
# Test the DNS alias used to get to the server.
Test-NetConnection myDNSalias -p 9999
 
# When you are done, stop the listener.
$Listener.Stop()

Labels:

Support Tips/Knowledge Docs
Comment List
Related
Recommended