Can serverless endpoints make outbound TCP connections?

I know endpoints can make http/https requests but is there any limit on outbound connections? Is there a FW or are all ports open? What about bandwidth limitations, etc.? Thanks!
9 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Encyrption
EncyrptionOP2y ago
How can I find out the definitive answer? Specifically can I connect from a serverless endpoint to an outbound (public) system on TCP 22 (SSH) and TCP 873 (rsync)?
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
digigoblin
digigoblin2y ago
No reason why outbound connections shouldn't work, people make outbound connections to upload to cloud storage etc
Encyrption
EncyrptionOP2y ago
I guess I'll give it the ol college try LOL
J.
J.2y ago
It is possible, but it's a pain in the ass to do so: https://discord.com/channels/912829806415085598/1238153273077141574/1238233952603476118 I had asked about this too The tldr is you need to use the graphql endpoints to modify the running pod
digigoblin
digigoblin2y ago
he didn't ask about websockets, he just asked about making outbound connections outbound connections are plain and simple, no need for graphql etc
J.
J.2y ago
Oh oops. I was reading it as he wanted to do it specifically through ports like TCP 22 / TCP 873, so I thought the question was more so how to get the ports exposed to do so - vs generic outbound requests
digigoblin
digigoblin2y ago
Nah he wanted to connect to an external system on those ports from his serverless worker

Did you find this page helpful?