Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
If you find these projects useful please consider becoming a sponsor with Patreon, GitHub or Liberapay.
Navigate to "chrome://version" to see all the switches and compare the switches between the application with AddCustomCommandLine and the application that has a command line switch in the shortcut.
While this is not necessary, but the question arises, how to resolve any port?
It is not very convenient to add each time, it is only necessary if there is a need for such a restriction yourself, but if it is not necessary, then it is not necessary.
Chromium added this feature for security reasons :
https://superuser.com/questions/188058/which-ports-are-considered-unsafe-by-chrome
https://jazzy.id.au/2012/08/23/why_does_chrome_consider_some_ports_unsafe.html
https://chromium.googlesource.com/chromium/src.git/+/refs/heads/master/net/base/port_util.cc
Apparently, you can specify several ports separated by commas when you use that switch :
https://superuser.com/questions/188006/how-to-fix-err-unsafe-port-error-on-chrome-when-browsing-to-unsafe-ports