Private Hosting Troubleshooting
- 03 Dec 2024
- 1 Minute to read
- Print
- DarkLight
- PDF
Private Hosting Troubleshooting
- Updated on 03 Dec 2024
- 1 Minute to read
- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
This page will provide some tips to help troubleshoot a private hosting installation setup.
Ping Resources from Installation Virtual Machine
If you have deployed Turbo360 then connected it to a virtual network on Azure via private endpoints and vnet integration, sometimes customers may have incorrect DNS settings for the PaaS resources. You can run the below script from the installation virtual machine and it will help you to identify if all of the resources can be connected to.
function Test-MyConnection([string] $endpoint, [int] $port, [string] $expectedStartIpAddress){
Write-Host ""
Write-Host "Testing Connection"
Write-Host "`tEndpoint: " $endpoint
Write-Host "`tPort: " $port
$pingResult = Test-NetConnection -ComputerName $endpoint -Port $port
# Assert that the endpoint is reachable
if($pingResult.TcpTestSucceeded -eq $true){
Write-Host "`t`t[+] Connection Succeeded" -ForegroundColor Green
if($pingResult.RemoteAddress.ToString().StartsWith($expectedStartIpAddress)){
Write-Host "`t`t[+] Response IP address Succeeded" -ForegroundColor Green
}
else {
Write-Host "`t`t[-] Response IP address Failed" -ForegroundColor Red
Write-Host "`t`t`tResponse IP address is: " $pingResult.RemoteAddress.ToString()
}
}
else {
Write-Host "`t`t[-] Connection Failed" -ForegroundColor Red
}
}
# Please update the below resource names to the correct ones for your environment
$storageAccountName = "mst360strpoc.blob.core.windows.net"
$sqlServerName = "ms-t360-sql-svr-poc.database.windows.net"
$processorFunctionApp = "ms-t360-func-processor-poc.azurewebsites.net"
$docGenFunctionApp = "ms-t360-func-docgen-poc.azurewebsites.net"
$chartGenFunctionApp = "ms-t360-func-chartgen-poc.azurewebsites.net"
$webAppFunctionApp = "ms-t360-webapp-poc.azurewebsites.net"
# If you would like to validate the ip addresses for the responses come from
$expectedStartIpAddress = "10.59" #I will test the response ip address is a local one on the vnet
Test-MyConnection -endpoint $storageAccountName -port 443 -expectedStartIpAddress $expectedStartIpAddress
Test-MyConnection -endpoint $sqlServerName -port 443 -expectedStartIpAddress $expectedStartIpAddress
Test-MyConnection -endpoint $processorFunctionApp -port 443 -expectedStartIpAddress $expectedStartIpAddress
Test-MyConnection -endpoint $docGenFunctionApp -port 443 -expectedStartIpAddress $expectedStartIpAddress
Test-MyConnection -endpoint $chartGenFunctionApp -port 443 -expectedStartIpAddress $expectedStartIpAddress
Test-MyConnection -endpoint $webAppFunctionApp -port 443 -expectedStartIpAddress $expectedStartIpAddress
Was this article helpful?