Hướng dẫn mở cổng (open port) trên Windows Server

0 261

Hướng dẫn mở cổng trên Windows Server

Bước 1: Truy cập [ Server Manager ] => [ Local Server ] => [ Windows Firewall ]

=> Bấm “Private: on” để mở cửa sổ quản lý Windows Firewall

Mo cong (open port) tren Windows Server - Buoc 1

Bước 2: Chọn “Advanced Settings

Mo cong (open port) tren Windows Server - Buoc 2

Bước 3: Chọn “Inbound Rules” => Bấm [ New Rule ] để tạo rule mới

Mo cong (open port) tren Windows Server - Buoc 3

Bước 4: Chọn loại Rule là “Port

Mo cong (open port) tren Windows Server - Buoc 4

Bước 5: Chọn Protocol là “TCP” và điền thông tin port vào mục “Specific local ports

Mo cong (open port) tren Windows Server - Buoc 5

Bước 6: Chỉ là action, ở đây chọn “Allow the connection

Mo cong (open port) tren Windows Server - Buoc 6

Bước 7: Chọn profiles mà rule sẽ áp dụng lên

Mo cong (open port) tren Windows Server - Buoc 7

Bước 8: Đặt tên cho  Rule mới => Bấm [ Finish ] để kết thúc cài đặt.

Mo cong (open port) tren Windows Server - Buoc 8
Kết quả là ta đã mở được cổng 5432 trên Windows Server

Kiểm tra kết nối tới cổng đã mở

Để kiểm tra kết nối tới cổng đã mở từ 1 máy khác, chúng ta sử dụng lệnh telnet

  • telnet <Hostname or IP Address> <Port>

Kết quả: 

Nguồn: vinasupport.com

Bạn cũng có thể thích
Comments
Loading...