Hi,
I am trying to access my UD Community from a remote machine. I am using IIS to host the website from a Windows Server 2016. When I try to access the page locally on the server using localhost it works just fine. However, when I enter the server IP and try to connect to the IIS website remotely the page only half loads (as in only the background theme color loads) before I get this error:
I used this article to help with my setup: How to Install and use UniversalDashboard.Community with IIS
I am using:
- ASP.NET Core Runtime (Hosting Bundle) 2.1.17
- .NET Framework 4.8
- UniversalDashboard.Community 2.8.1
- WebSocket Protocol for IIS
I have copied all the necessary files from the PS module to wwwroot and the dashboard.ps1 looks something like this:
$theme = Get-UDTheme -Name ‘Azure’
$dashboard = New-UDDashboard -Title “Test Server” -Theme $theme -Content {
New-UDInput -Title "Server name:" -Endpoint {
param($ServerName)
New-UDInputAction -Toast "Server entered: $ServerName"
}
}
Start-UDDashboard -wait -Dashboard $dashboard
If any additional information is needed, please let me know as I am truly stumped on this one.
Thanks