I have a web core api server and I'm trying to connect to it from my phone, but it just says connection failed every time I try. Is it possible that the IIS Express Server doesn't make my IP address available for remote devices? I've done this once using Java and it worked perfectly fine, I don't understand why it won't work here.
public class Program
{
public static void Main(string[] args)
{
BuildWebHost(args).Run();
}
public static IWebHost BuildWebHost(string[] args) =>
WebHost.CreateDefaultBuilder(args)
.UseUrls("http://localhost:8080", "http://myIP:8080")
.UseStartup<Startup>()
.Build();
}