Hello,
currently i'm using self hosting windows service method for API
public string baseAddress = "http://localhost:9000"; private IDisposable _server = null; public TrackProgress() { InitializeComponent(); } protected override void OnStart(string[] args) { InitializeSelfHosting(); } protected override void OnStop() { } public void InitializeSelfHosting() { _server = WebApp.Start<Startup>(url: baseAddress); }
everything working fine, now i want to use baseAddress with http://www.example.com:9000 instead of localhost:9000 in live windows server. is this work?
or do i need to make any additional configuration?
Appreciate for quick and best response