We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e6debc commit e74e7adCopy full SHA for e74e7ad
src/System.Private.ServiceModel/tools/SelfHostedWcfService/Program.cs
@@ -41,7 +41,7 @@ private static void Main()
41
TestDefinitionHelper.StartHosts();
42
43
//Start the crlUrl service last as the client use it to ensure all services have been started
44
- Uri testHostUrl = new Uri(string.Format("http://localhost/TestHost.svc", s_httpPort));
+ Uri testHostUrl = new Uri(string.Format("http://localhost:{0}/TestHost.svc", s_httpPort));
45
WebServiceHost host = new WebServiceHost(typeof(TestHost), testHostUrl);
46
WebHttpBinding binding = new WebHttpBinding();
47
host.AddServiceEndpoint(typeof(ITestHost), binding, "");
0 commit comments