c# - Conflict when running IIS and WCF application listening on the same port (443) -


i'm in process of doing server migration, , i've come across issue when trying host wcf application , iis @ same time using same ip address , port. (this works on our other server)

the new server windows 2012 r2 standard

it running iis 8.5.9600.16384

i'm trying create exact copy of previous installation, of our existing clients continue work when switch flicked (on tuesday).

the wcf application runs windows service.

when 'start' web-site, can access web-services on there.

if stop web-site , start wcf application, can access wcf's services.

if re-start web-site, wcf services stop working.

basically, can't both work @ same time, worked fine on previous server.

am missing setting somewhere?

the addresses i'm listening on are...

https://test.banana.com/webservices/myservice.asmx 

and

https://test.banana.com/wcfservice/mywcf.rem 

*i'm using dummy domain name example

**also, live server has different domain name, there's no conflict there.

i don't think single port can listened multiple processes on same machine. how operating system know send network requests?

that you're using different dns doesn't matter, since dns filtering / dispatch happens after https service has received or post(or other) request. before happens there no way operating system know process request meant go. using https complicates more, since requests encrypted using certificate service knows, request can not read os.

i suggest letting iis host services on port 443. can direct traffic multiple https sites using request headers. iis can read https request since supply certificate iis. can host wcf service in iis.

iis more reliable hosting services self-hosted service well.


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

Kivy: Swiping (Carousel & ScreenManager) -