c# - How to Configure owin/Katana to listen on all host ip addresses -


How to configure an OWin Web server to be accessible from other hosts All examples for local instances are configured Do not know what the URL is (IP address / hostname)

code:

  class program {static string url = "http: / / / Localhost: 9080 "; Fixed Zero main (string [] args) {(WebApp.start>  (url)) {Console.WriteLine ("server is running {0}", url); Console.ReadLine (); }}}}  
= "post-text" itemprop = "text">

You have your URL '*':

  static string url = "http : // *: 9080 ";   

This will be less restrictive than the local host.

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -