Connection from App service to BDD VM

Marcos Ferreira 26 Reputation points
2022-07-06T19:12:16.937+00:00

Hi people¡
I have a problem with an App Service.
We need that this App Service connect to a VM With Oracle BDD (Windows Server 2008)
I configured a VNetwork and integred on the App Service, and test with "tcpping" with IP and port 1521:

Failed with error: "An Attempt Was Made to Access a Socket in a Way Forbidden by its Access Permissions"

218253-error.png

Vnet configuration:

  • Address space - 10.50.1.0/24
  • Subnet: 10.50.1.0/24
  • IP Destination: 10.50.1.153

Another try:

  • Address space - 10.50.0.0/16
  • Subnet: 10.50.1.0/24
  • IP Destination: 10.50.1.153

On both cases, same error.
Is a connection from a separates corporations.
Some idea?
Thanks.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,467 questions
{count} votes

Accepted answer
  1. Andriy Bilous 10,731 Reputation points MVP
    2022-07-07T15:22:44.977+00:00

    Hello @Marcos Ferreira

    I see you are making tcpping to port 80 and not 1521 for testing connection to VM With Oracle BDD (Windows Server 2008).
    IP address of your VM With Oracle BDD (Windows Server 2008) is 10.50.1.153, Port is 1521

    So, if you want to connect to your Oracle BDD from WebApp use command tcpping 10.50.1.153:1521

    If you think your question has been answered, click "Mark as Accept Answer" if just helped click "Vote as helpful". This can be beneficial to other community members reading this forum thread.


0 additional answers

Sort by: Most helpful