How can I test the connection to my RLM server?

  • Updated

There are many ways to test a connection to your server, but we’ll walk you through a couple of our favorites:

PowerShell (Windows)

  1. Open a PowerShell window
  2. Enter this command: New-Object System.Net.Sockets.TcpClient("[Server IP/Hostname]", "[Port Number]")
    • [Server IP/Hostname]: Replace this with your server’s public IP or Hostname
    • [Port Number]: Replace this with the port you wish to test
    • Example: New-Object System.Net.Sockets.TcpClient("", "5053")
  3. If the connection is successful, you will see a list of connection details; Look for the Connection: True line
  4. If the connection fails, PowerShell will display an error message
  5. Repeat this for each port you want to test

Network Utility (Mac OSX)

Mac includes a special built-in tool that can test many aspects of your network, including probing TCP ports.

  1. Press Cmd + Spacebar to open Spotlight
  2. In the search bar, enter “Network Utility” and select the first result
  3. Select the “Port Scan” tab
  4. In the first textbox, enter the IP address or Hostname of your server
  5. Select the checkbox next to “Only test ports between…”
  6. Enter the same number in both boxes to test one port OR enter two different numbers to test a range of ports; This is useful if your three required ports are close to each other.
  7. Click “Scan” and wait for the results to appear

The image below shows an example with successful results on all three ports.

Screenshot of the Network Utility tool on Mac with three success messages

Was this article helpful?




Article is closed for comments.