How to run WCF service on a specific port

后端 未结 4 1431
轻奢々
轻奢々 2020-12-20 12:49

I have a .Net 4.0 WCF service running on IIS. I have not specified a port so assume it is running on port 80. I need to install my service on a server where port 80 is alrea

4条回答
  •  情歌与酒
    2020-12-20 13:27

    We can do it using the .csproj file of the WCF project(in case of using VS).Just change the value of this xml tag in your corresponding file:

    To Run the service at port number 60000 ,

    60000
    

提交回复
热议问题