Testing uploaded web pages
In this recipe, we will open the firewall port for Nano Server. We've already modified the port 8081
binding information for nanosite.com
. We need to open the firewall port 8081
in Nano Server, which will allow us to access the website with port 8081
. We will open the default.htm
page, which we created through PowerShell.
Getting ready
To step through this recipe, you will need a Nano Server 2016 instance with the IIS package installed. For all this installation and configuration work, you should have administrative privileges.
How to do it...
- Go to the
WIN2016IIS
server to access Nano Server 2016. We have to first log in to theWIN2016IIS
server with any Windows 2016 Server or Windows 10 machine. We will use theWIN2016IIS
server to remotely connect to Nano Server on172.16.15.63
. - Let's first create the firewall rule to allow port
8081
on Nano Server. ExecuteRunAs /user:Administrator PowerShell_ISE.exe
in the Run window on theWIN2016IIS
server. It will ask you for...