web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Connect to custom on-p...
Power Apps
Unanswered

Connect to custom on-premises APIs using data gateway

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello

I followed the api instructions in this article https://flow.microsoft.com/en-us/blog/on-premise-apis/

, all work normally locally as it describe but when i try to test the custom connector the message is displayed

Received error payload from gateway service with ID xxxxx: Substituted: HttpRequestException:System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it xxx.xxx.x.xx:443

"status": 500

Thanks

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi There...

     

    I received a similar response. Not sure why its trying to connect to port 443 even though I tried to specify to the default port IIS is running on.

     

    Received error payload from gateway service with ID xxxxxx: Substituted: HttpRequestException:<pi>System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond xxxxxx:443 at System.Net.Socket (500)

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I think this is gateway port calling.

    I think something going wrong with scheme (http/https)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard