c# - WCF HTTPS Multiple Domains on Multiple NICs -
i have 2 wcf services on same machine i'm opening using following constructor:
servicehost = new servicehost(proxy, ub.uri); ... servicehost.open();
the uri looks like: https://proxy.company.com , https://api.company.com each respective service.
my machine has two network cards, 2 available ip addresses. i've set url acls using like:
netsh http add urlacl url="https://proxy.company.com" user="user1" netsh http add urlacl url="https://api.company.com" user="user2"
however, wcf still trying grab entire 443 ip space (e.g. https://+:443) on machine, of course results in error both servicehosts can't possibly reserve entire ip space.
is there way instruct wcf not try register https://+:443 , instead request applicable url space (e.g. https://proxy.company.com instead of https://+443, etc.)?
Comments
Post a Comment