Test Remote Server Connectivity [TechTrav Wiki]

Site Tools


tech:macos:test_remote_server_connectivity

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
tech:macos:test_remote_server_connectivity [2021/02/18 23:58] – created travistech:macos:test_remote_server_connectivity [2021/02/19 00:00] (current) travis
Line 2: Line 2:
  
 Starting with macOS High Sierra, Apple removed telnet from macOS. ''nc'' or netcat can be used for remote connectivity testing. Starting with macOS High Sierra, Apple removed telnet from macOS. ''nc'' or netcat can be used for remote connectivity testing.
 +===== Man page =====
 +
 <code> <code>
 NC(1)                     BSD General Commands Manual                    NC(1) NC(1)                     BSD General Commands Manual                    NC(1)
Line 246: Line 248:
  
 </code> </code>
 +
 +===== How to use nc =====
  
 To test port 80 on a remote web server: To test port 80 on a remote web server:
 +<code>
  
-''nc -vz 10.200.2.37 80+nc -vz 10.200.2.37 80 
 + 
 +</code>
  
 Output: Output:
-<code> 
  
 +<code>
 Connection to 10.200.2.37 port 80 [tcp/http] succeeded! Connection to 10.200.2.37 port 80 [tcp/http] succeeded!
  
 </code> </code>
 +
  
tech/macos/test_remote_server_connectivity.1613710733.txt.gz · Last modified: 2021/02/18 23:58 by travis

technology is not a panacea