ポート 512
biff、comsat、exec · TCP/UDP
| 範囲 | システム/ウェルノウンポート (0–1023) |
|---|---|
| プロトコル | TCP/UDP |
| サービス | biff、comsat、exec |
よくある質問
ポート 512 は何に使われますか?
ポート 512 は IANA に biff、comsat、exec 用として登録されています (TCP/UDP)。説明: remote process execution; authentication performed using passwords and UNIX login names; ; used by mail system to notify users of new mail received; currently receives messages only from processes on the same machine。
ポート 512 はウェルノウンポートですか?
はい。ポート 512 は 0–1023 の範囲 (システム/ウェルノウンポート) にあります。Linux と macOS では、特権プロセスだけがこれらのポートを開けます。
ポート 512 が開いているか確認するには?
ローカルでは Linux なら ss -tulpn | grep ':512\b'、Windows なら netstat -ano | findstr :512 を使います。リモートホストは PowerShell の Test-NetConnection <host> -Port 512、または Linux/macOS の nc -zv <host> 512 で確認できます。
ファイアウォールでポート 512 を開くには?
Ubuntu/Debian (ufw): sudo ufw allow 512/tcp。Fedora/RHEL (firewalld): sudo firewall-cmd --add-port=512/tcp --permanent の後に firewall-cmd --reload。Windows (管理者として PowerShell): New-NetFirewallRule -DisplayName "Port 512" -Direction Inbound -Protocol TCP -LocalPort 512 -Action Allow。
IANA 登録簿のエントリ
| プロトコル | サービス | 説明 (IANA) |
|---|---|---|
| TCP | exec | remote process execution; authentication performed using passwords and UNIX login names |
| UDP | comsat | |
| UDP | biff | used by mail system to notify users of new mail received; currently receives messages only from processes on the same machine |