About Google Chrome browser port restrictions

For web applications developed, if the port is 6666, Google Chrome will consider it insecure, but there is also a way to make Google Chrome recognize this port. The methods are as follows:

 

Right-click on the Chrome shortcut and select the "Properties" menu item

Then set the target's url
C:\Users\Huoqing\AppData\Local\Google\Chrome\Application\chrome.exe --explicitly-allowed-ports=6666,556

Multiple ports are separated by ","

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326015469&siteId=291194637