title: SignalR: can't connect to any ip address
body: <p>I'm trying use SignalR with IP address but i am not able to connect with any ip adresses. Firstly i tried for server URI this. "<a href="http://127.0.0.1:8080/signalr" rel="nofollow noreferrer">http://127.0.0.1:8080/signalr</a>" but i take some errors. Client app says unable to connect server. what could be reason of this? </p>
  
  <pre><code>public partial class WinFormsServer : Form
  {
      private IDisposable SignalR { get; set; }
      const string ServerURI = "http://localhost:8080/signalr";
  
      private void ButtonStart_Click(object sender, EventArgs e)
      {
          WriteToConsole("Starting server...");
          ButtonStart.Enabled = false;
          Task.Run(() =&gt; StartServer());
      }
  
      private void StartServer()
      {
          try
          {
              SignalR = WebApp.Start(ServerURI);
          }
          catch (TargetInvocationException)
          {
              WriteToConsole("Server failed to start. A server is already running on " + ServerURI);
              //Re-enable button to let user try to start server again
              this.Invoke((Action)(() =&gt; ButtonStart.Enabled = true));
              return;
          }
          this.Invoke((Action)(() =&gt; ButtonStop.Enabled = true));
          WriteToConsole("Server started at " + ServerURI);
      }
  
      class Startup
      {
          public void Configuration(IAppBuilder app)
          {
              app.UseCors(CorsOptions.AllowAll);
              app.MapSignalR();
          }
      }
  }
  </code></pre>
  
  <p>I changed my startup class with this code like Rick van den Bosch's solve. But i can't connect any ip address still.</p>
  
  <pre><code>public class Startup
      {
          public void Configuration(IAppBuilder app)
          {
              app.Map("/signalr", map =&gt;
              {
                  map.UseCors(CorsOptions.AllowAll);
                  var hubConfiguration = new HubConfiguration { };
                  map.RunSignalR(hubConfiguration);
              });
          }
      }
  </code></pre>