Google Chrome เป็นเบราว์เซอร์เว็บที่ใช้กันมากที่สุดโลก แต่เหมือนซอฟต์แวร์อื่นๆ ก็มีข้อผิดพลาด ข้อผิดพลาดหนึ่งคือ ERR_UNSAFE_PORT เกิดจากการเข้าถึงข้อมูลผ่านพอร์ตที่ไม่แนะนำ ข้อความข้อผิดพลาดระบุว่า:
The webpage is not available, The webpage at <Address> might be temporarily down or it may have moved permanently to a new address. Error code: ERR_UNSAFE_PORT
บทความนี้จะดูวิธีแก้ไขข้อผิดพลาด ERR_UNSAFE_PORT สำหรับ Google Chrome บน Windows 10

ข้อผิดพลาด ERR_UNSAFE_PORT บน Chrome
เราจะดูวิธีแก้ไขดังนี้:
- ตั้งค่า Allowed Ports
- Reset หรือ Reinstall Google Chrome
1. ตั้งค่า Allowed Ports
เริ่มด้วยการเปิด Google Chrome

คลิกขวาที่ไอคอน Google Chrome บนแถบงาน คลิกขวาอีกครั้งที่รายการ Google Chrome เลือก Properties จะเปิดหน้าต่าง Google Chrome Properties
ไปที่แท็บ Shortcut
ในฟิลด์ Target พิมพ์ต่อไปนี้หลังที่อยู่ทั้งหมด:
--explicitly-allowed-ports=xxx
ควรจะเป็นแบบนี้:
"C:\Documents and Settings\User\Local Settings\Application Data\Google\Chrome\Application\chrome.exe --explicitly-allowed-ports=6666
คลิก Apply แล้ว OK เพื่อให้การเปลี่ยนแปลงมีผล
2. Reset หรือ Reinstall Google Chrome
เพื่อ Reset Chrome browser ให้แน่ใจว่า Chrome ไม่ทำงานในพื้นหลังโดยใช้ Task Manager
กด WINKEY + R เปิด Run ไปที่ path:
%USERPROFILE%\AppData\Local\Google\Chrome\User Data
เลือกโฟลเดอร์ชื่อ Default กด Shift + Delete คลิก Yes ยืนยัน
หลังลบโฟลเดอร์ Default เปิด Google Chrome คลิกปุ่ม Menu (สามจุดแนวตั้งมุมขวาบน)
คลิก Settings ใน Settings เลื่อนลงคลิก Advanced เพื่อแสดง Advanced Settings
เลื่อนลงไปที่ปุ่ม Restore Settings to their original defaults คลิก
จะมี prompt ปรากฏ:

คลิก Reset จะ reset Chrome browser
ตรวจสอบว่าปัญหาแก้ไขได้หรือไม่
หากไม่ช่วย อาจต้อง reinstall Google Chrome ก่อน Uninstall Chrome ให้หมดจากคอมพิวเตอร์ รวมโฟลเดอร์ที่เหลือจาก browsing data, user data ฯล฿ ดาวน์โหลดเวอร์ชันล่าสุดจากเว็บไซต์และติดตั้ง
แก้ปัญหาได้ไหม?
