วิธีเปิด Port บน Window Server
Back to articles

วิธีเปิด Port บน Window Server

วิธีเปิด Port บน Window Server

Server Category Updated: February 20, 2026

วิธีเปิด Port บน Windows Server

การเปิด Port บน Windows Server เป็นกระบวนการที่สำคัญเมื่อต้องการอนุญาตให้แอปพลิเคชันหรือบริการที่ทำงานบนเซิร์ฟเวอร์สามารถรับข้อมูลผ่านทางพอร์ตที่กำหนดได้ ดังนั้นนี่คือขั้นตอนพื้นฐานในการเปิด Port บน Windows Server:

  1. เปิด Windows Firewall:
- ไปที่ "Control Panel" > "System and Security" > "Windows Defender Firewall".
- คลิกที่ "Advanced settings" ทางด้านซ้ายมือ.

  1. สร้าง Inbound Rule:
- ในหน้าต่าง "Windows Defender Firewall with Advanced Security", คลิกที่ "Inbound Rules" ทางด้านซ้ายมือ.
- ทางด้านขวา, เลือก "New Rule..." เพื่อเปิดตัวช่วยในการสร้างกฎใหม่.

  1. เลือกประเภทของ Rule:
- เลือก "Port" และคลิก "Next".

  1. กำหนดพอร์ตที่ต้องการเปิด:
- เลือก "TCP" หรือ "UDP" ตามลักษณะของแอปพลิเคชัน.
- ป้อนหมายเลขพอร์ตที่ต้องการเปิด.

  1. เลือกการกระทำ:
- เลือก "Allow the connection" เพื่ออนุญาตการเชื่อมต่อผ่านพอร์ตนี้.

  1. กำหนดช่วงเครือข่าย (หากจำเป็น):
- คุณสามารถเลือก "Which local IP addresses does this rule apply to?" เพื่อกำหนดช่วงเครือข่ายที่มีอนุญาตให้เข้าถึงพอร์ตนี้.

  1. กำหนดชื่อและคำอธิบาย (Optional):
- ให้ตั้งชื่อและคำอธิบายกฎตามที่คุณต้องการ.

  1. สรุปและสร้าง Rule:
- ตรวจสอบข้อมูลที่กรอกเพื่อตรวจสอบความถูกต้อง.
- กด "Finish" เพื่อสร้างกฎ.

  1. ทดสอบการเปิดพอร์ต:
- หลังจากสร้างกฎ Inbound Rule เสร็จสิ้น, ลองเชื่อมต่อมาที่เซิร์ฟเวอร์ผ่านพอร์ตที่คุณเปิดเพื่อทดสอบว่าสามารถเชื่อมต่อได้หรือไม่.

คุณควรระมัดระวังในการเปิดพอร์ตเพื่อไม่ให้เปิดพอร์ตที่ไม่จำเป็นและให้คุณปฏิบัติตามแนวทางความปลอดภัยขององค์กรของคุณเสมอ และเชื่อมต่อเซิร์ฟเวอร์ให้ด้วยการใช้พอร์ตที่ปลอดภัยและเข้ารหัสแบบ SSL/TLS หากเป็นไปได้.

D

DriteStudio | ไดรท์สตูดิโอ

Cloud, VPS, Hosting and Colocation provider in Thailand

Operated by Craft Intertech (Thailand) Co., Ltd.

Manage your cookie settings

We use different types of cookies to optimize your experience on our website. Click on the categories below to learn more and customize your preferences. Note that blocking some types of cookies may impact your experience.

Necessary Cookies

These cookies are essential for the website to function properly. They enable basic functions like page navigation and access to secure areas.

View cookies used
  • Session cookies (session management)
  • Security cookies (CSRF protection)
Always On

Functional Cookies

These cookies enable personalized features like language preferences and theme settings. Without these, some features may not work properly.

View cookies used
  • lang (language preference)
  • theme (dark/light mode)

Analytics Cookies

These cookies help us understand how visitors interact with our website by collecting and reporting information anonymously.

View cookies used
  • _ga (Google Analytics)
  • _gid (Google Analytics)

Marketing Cookies

These cookies are used to track visitors across websites to display relevant advertisements based on your interests.

View cookies used
  • Advertising cookies
  • Remarketing pixels

Privacy Policy