본문 바로가기
Solved

[Solved] Chrome - ERR_UNSAFE_PORT 원인

by 나히메 2023. 11. 30.

포트 포워딩을 통해 외부에서 가상 머신 웹 서버에 접속하기 위해

외부 포트를 10080으로 설정 후 접속하는 경우

ERR_UNSAFE_PORT라는 에러 메시지와 함께 사이트에 연결할 수 없습니다.

이는 10080 포트가 Chrome에서 보안을 강화하기 위해 차단한 포트임을 의미합니다.

 

Chrome은 잘 알려진 포트를 포함하여 공격 대상이 될 수 있는 포트를 웹 서버 포트로 사용하는 것을 차단하고 있습니다.

차단된 포트 목록은 아래와 같습니다.

1,      // tcpmux
7,      // echo
9,      // discard
11,     // systat
13,     // daytime
15,     // netstat
17,     // qotd
19,     // chargen
20,     // ftp data
21,     // ftp access
22,     // ssh
23,     // telnet
25,     // smtp
37,     // time
42,     // name
43,     // nicname
53,     // domain
69,     // tftp
77,     // priv-rjs
79,     // finger
87,     // ttylink
95,     // supdup
101,    // hostriame
102,    // iso-tsap
103,    // gppitnp
104,    // acr-nema
109,    // pop2
110,    // pop3
111,    // sunrpc
113,    // auth
115,    // sftp
117,    // uucp-path
119,    // nntp
123,    // NTP
135,    // loc-srv /epmap
137,    // netbios
139,    // netbios
143,    // imap2
161,    // snmp
179,    // BGP
389,    // ldap
427,    // SLP (Also used by Apple Filing Protocol)
465,    // smtp+ssl
512,    // print / exec
513,    // login
514,    // shell
515,    // printer
526,    // tempo
530,    // courier
531,    // chat
532,    // netnews
540,    // uucp
548,    // AFP (Apple Filing Protocol)
554,    // rtsp
556,    // remotefs
563,    // nntp+ssl
587,    // smtp (rfc6409)
601,    // syslog-conn (rfc3195)
636,    // ldap+ssl
989,    // ftps-data
990,    // ftps
993,    // ldap+ssl
995,    // pop3+ssl
1719,   // h323gatestat
1720,   // h323hostcall
1723,   // pptp
2049,   // nfs
3659,   // apple-sasl / PasswordServer
4045,   // lockd
5060,   // sip
5061,   // sips
6000,   // X11
6566,   // sane-port
6665,   // Alternate IRC [Apple addition]
6666,   // Alternate IRC [Apple addition]
6667,   // Standard IRC [Apple addition]
6668,   // Alternate IRC [Apple addition]
6669,   // Alternate IRC [Apple addition]
6697,   // IRC + TLS
10080,  // Amanda

 

 

 

참고문헌

 

net/base/port_util.cc - chromium/src.git - Git at Google

// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "net/base/port_util.h" #include "base/containers/fixed_flat_map.h" #include "base/lazy_instance.h" #incl

chromium.googlesource.com

댓글