This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
tech:macos:test_remote_server_connectivity [2021/02/18 23:58] – created travis | tech: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. '' | Starting with macOS High Sierra, Apple removed telnet from macOS. '' | ||
+ | ===== Man page ===== | ||
+ | |||
< | < | ||
NC(1) BSD General Commands Manual | NC(1) BSD General Commands Manual | ||
Line 246: | Line 248: | ||
</ | </ | ||
+ | |||
+ | ===== How to use nc ===== | ||
To test port 80 on a remote web server: | To test port 80 on a remote web server: | ||
+ | < | ||
- | '' | + | nc -vz 10.200.2.37 80 |
+ | |||
+ | </ | ||
Output: | Output: | ||
- | < | ||
+ | < | ||
Connection to 10.200.2.37 port 80 [tcp/http] succeeded! | Connection to 10.200.2.37 port 80 [tcp/http] succeeded! | ||
</ | </ | ||
+ | |||