Nov 22, 202010:55 PM - last edited on Dec 10, 20202:42 AM by WendyGoh
Member | Elite Partner
Serverless to call target Url - Including port in url no works
I am trying to create an endpoint by "serverless function" of HubSpot. Unfortunately, when my script calls an the target url (outside HubSpot) includes port (except 80 and 443), it will fail to connect. For example
Apologize on that. I've redacted the server IP on my post and on your initial post - (previously if I copy the link using the copy link address, I was able to get the server IP).
Going forward, if it's more comfortable for you, feel free to reach me via DM.
I believe this might be an issue with your team server implementation.
When I attempt to hit http://xx:12780/ directly on my local machine, the server on the other side hangs.
The log statement you shared - Runtime: 20020.42 ms means that the serverless function timed out after 20s so it does not appear that the serverless function is not working.
In this case, could your team check if you're able to access http://xx:12780/ ?
While I'm not aware of any restriction on our end to block non-standard ports (80 and 443), could you share with us the raw error message in question so that we can dig further into this? Thanks!