포트 온라인 탐지 도구
포트 감지 결과.
x
1
정보포트 온라인 탐지 도구:
이 온라인 열린 포트 온라인 탐지 도구는 특정 포트에서 서버가 열려 있는지 또는 서버 포트 전달 설정이 올바른지 여부를 감지하는 데 도움을줍니다. 常用端口列表:
공통 포트 | 소개 |
---|---|
21 | FTP (File Transfer Protocol) |
22 | SSH (Secure Shell) |
23 | TELNET (Remote Login Service) |
25 | SMTP (Simple Mail Transfer Protocol) |
53 | DNS (Domain Name System) |
80 | HTTP (Hypertext Transfer Protocol) |
110 | POP3 (Post Office Protocol) |
115 | SFTP (Simple File Transfer Protocol) |
443 | TLS/SSL (Transport Layer Security) |
3306 | MySQL Database |
8080 | Apache Tomcat Web Server |

포트 탐지에 대한 추가 링크:
위키 백과 (포트): https://en.wikipedia.org/wiki/Port_(computer_networking)
일반적으로 사용되는 포트 목록: https://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers
파이썬을 이용한 포트 감지 (패키지 소켓 포함):
- import socket
- def port_checker(ip_address_or_domain, port_number):
- sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
- try:
- sock.connect((str(ip_address_or_domain), int(port_number)))
- return "PORT {0} is OPEN on '{1}'.".format(port_number, ip_address_or_domain)
- except Exception as e:
- print(str(e))
- return "PORT {0} is CLOSED on '{1}'.".format(port_number, ip_address_or_domain)
- finally:
- sock.close()
- print(port_checker('coding.tools', 443))
- -------------------
- PORT 443 is OPEN on 'coding.tools'.
Java에서 포트 감지 (패키지 java.net.Socket 사용):
- import java.io.IOException;
- import java.net.Socket;
- public class Port {
- public static boolean check_port(String ip_or_domain, int port) {
- try (Socket server = new Socket(ip_or_domain, port)) {
- System.out.println("Port " + port + " is OPEN on " + ip_or_domain);
- return true;
- } catch (IOException ignored) {
- System.out.println("Port " + port + " is CLOSED on " + ip_or_domain);
- return false;
- }
- }
- public static void main(String[] args) {
- boolean is_open = check_port("93.184.216.34", 443);
- }
- }
- -------------------
- Port 443 is OPEN on 93.184.216.34