{tocify} $title={Table of Contents}
Troubleshooting Steps
Open the EC2 instance and connect to it in command line and then follow below steps to see the response of the site in command line:
To enable Internet explorer using PowerShell:
Set-ItemProperty -Path
"HKLM:\SOFTWARE\Microsoft\Internet Explorer\Main"
-Name
"DisableFirstRunCustomize"
-Value 2
To get the default iis website tcp port and ip run this command:
Get-IISSite
"Default Web Site"
Once you get the IIS Port and ip address, form the application url in below command endpoint parameter:
wget -Uri <endpoint> -header @{name=key}
Like below sample URL:
wget -Uri http:
//127
.0.0.1:8080
/api/health
If you have to pass on the headers to the url fill in the header parameter in first wget command like below:
wget -Uri http://127.0.0.1:8080/api/health -header @{headerOne=headerValueOne}
After this you should see the response below or any error which is thrown.
Result