Click here to Skip to main content
15,895,803 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i've got a self hosted wcf service,and an asp.net web site that need to run on the same machine,wcf service and web site use the same port 80. I've discovered that when the self hosted service is running, all calls to website routed to the WCF architecture,and then got 405 error.

how to deploy a self hosted wcf service and an asp.net web site on the same machine
thanks
Posted
Comments
Sergey Alexandrovich Kryukov 28-Feb-15 20:36pm    
Not enough information, but... why, why same port? How the software is supposed to filter out blocks sent to the same combination of IP address and port?
—SA
tenderzs 1-Mar-15 5:55am    
because the request must cross firewall,and only the 80 port is supported.
if wcf service can filter request and route the request to iis,and then my problem can be resolved.
Afzaal Ahmad Zeeshan 28-Feb-15 23:24pm    
I would agree to what Sergey has said, the machine would be able to handle the request that is incoming, but it won't be able to decide whether it is the WCF service client is in search of, or the ASP.NET website the client is looking for.

Right now (until you change the port number decision) the question is just off-topic.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900