2 years ago

#68732

test-img

David Meu

Azure custom connector working with localhost

I tried using that guide: https://powerautomate.microsoft.com/en-us/blog/on-premise-apis/

To work with my localhost running server with azure custom connector.

I've defined an API gateway and my local server is running but receiving:

    {
      "error": {
        "code": 500,
        "message": "No connection could be made because the target machine actively refused it 127.0.0.1:8000",
        "source": "unitedstates-002.azure-apim.net",
        "path": "forward-request",
        "policyId": "",
        "clientRequestId": "70655628-faaa-4725-8ea1-4b8a-e599385d"
      }
    }

When testing my connector.

My local server is at: http://127.0.0.1:8000

My gateway: enter image description here

My custom connector connection creation: enter image description here

My connector gateway settings: enter image description here

Note that:

This is power automate custom connector.

The Only diff is that I'm using the url from apiProperties.json file "x-ms-apimTemplateParameter.urlTemplate": "http://127.0.0.1:8000"

If I'm using localhost in the swagger host everything is fine.

azure

localhost

power-automate

connector

0 Answers

Your Answer

Accepted video resources