Specifying port number in WPAD file

Can you specifiy a port number in a WPAD file?  For instance lets say I want msn.com to go through the proxy but I want msn.com:8443 to go direct.  Can this be done if so whats the context?


dnsDomainIs(host, "msn.com:8443"))
return "DIRECT";
LVL 2
PSGITechAsked:
Who is Participating?
 
Brad HoweConnect With a Mentor DevOps ManagerCommented:
You can use the URL parameter to and a REGex to match but the HOST parameter is only the DNS name.

eg:
shExpMatch(url, "http://msn.com:8443"))

http://findproxyforurl.com/pac_functions_explained.html

Cheers,
Hades666
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.