-
Notifications
You must be signed in to change notification settings - Fork 14
Closed
Description
same problem as,
#1 (comment)
i added firewall rules for inbound and outbound for port 5000 still same issue i can access it on my machine with http://myip:5000 or http://localhost:5000 but dont work on outside machine.
is there any firewall issue or its just me doin smth wrong ?
my program.cs file looks like this.
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
namespace OpenBulletAPI
{
public class Program
{
public static void Main(string[] args)
{
CreateWebHostBuilder(args).Build().Run();
}
public static IWebHostBuilder CreateWebHostBuilder(string[] args) =>
WebHost.CreateDefaultBuilder(args)
.UseUrls("http://0.0.0.0:5000")
.UseStartup<Startup>();
}
}
Metadata
Metadata
Assignees
Labels
No labels