Reach NAV 2016 Webservice on virtual server from public URL

I have a virtual server with a NAV 2016 environment, in which I created a Webservice. In order to access the webserive from outside the server, I configured NAvUserPassword security with a self-signed certificate thumbprint and a dedicated non-AD NAV user with SUPER permissions.

When I access the service URL on the server as https://localhost:29247/SERVICE/WS/Company/Codeunit/CUName, it works fine with the user credentials, although it takes long to establish the connection.

But when I try to access the same service from my own PC, using the server's public IP address instead of localhost, I get an ERR_CONNECTION_TIMED_OUT error. I added the service SOAP port 29247 to the firewall for inbound and outbound traffic.

Does anyone have an idea about what I am fogetting here?

Best Answer

Answers

  • Jan_VeenendaalJan_Veenendaal Member Posts: 206
    Is the VM in Azure? Then you may need to add an 'endpoint' to the VM for port 29247 (using the Azure portal)
    Jan Veenendaal
  • Erik_HeirbautErik_Heirbaut Member Posts: 16
    No, it's not in Azure. It is a virtual server on which we develop and test.
Sign In or Register to comment.