You must increase the permission on both service applications and then execute an IIS reset. Follow the steps explained in below article and you should get the error resolved.
Fixing Office Web Apps "Network Connectivity has been lost error"
As given in article...
1. Run this script in PowerShell:
Remove-PSSnapin Microsoft.SharePoint.PowerShell -erroraction SilentlyContinue
Add-PSSnapin Microsoft.SharePoint.PowerShell -erroraction SilentlyContinue
Write-Host -ForegroundColor White "--------------------------------------------------------------"
Write-Host -Foregroundcolor green "Fixing Word Viewing Service Application"
$e = Get-SPServiceApplication | where {$_.TypeName.Equals("Word Viewing Service Application")}
$e.WordServerIsSandboxed = $false
Write-Host -Foregroundcolor green "Word Viewing Service Application is fixed"
Write-Host -ForegroundColor White "--------------------------------------------------------------"
Write-Host -Foregroundcolor green "Fixing PowerPoint Service Application"
Get-SPPowerPointServiceApplication | Set-SPPowerPointServiceApplication -EnableSandboxedViewing $false
Get-SPPowerPointServiceApplication | Set-SPPowerPointServiceApplication -EnableSandboxedEditing $false
Write-Host -Foregroundcolor green "PowerPoint Service Application is fixed"
Write-Host -ForegroundColor White "--------------------------------------------------------------"
2. Do an IIS reset on SharePoint Application Server.
Note: Office Web Apps must be installed on a farm which uses a domain controller. For standalone installations this fix will not
work. Before running this script please check the name of Word Viewing Service Application
and PowerPoint Service Application because it may differ in your system. You can check it either from central administration site or by running Get-SPServiceApplication
command.