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
nerdylive
nerdylive8mo ago
I have no idea about this I guess there's not But bandwidth limitation I think it's around 120mb/s ish
Encyrption
EncyrptionOP8mo 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)?
nerdylive
nerdylive8mo ago
yeah sure
digigoblin
digigoblin8mo ago
No reason why outbound connections shouldn't work, people make outbound connections to upload to cloud storage etc
Encyrption
EncyrptionOP8mo ago
I guess I'll give it the ol college try LOL
justin
justin8mo 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
digigoblin8mo 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
justin
justin8mo 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
digigoblin8mo ago
Nah he wanted to connect to an external system on those ports from his serverless worker

Did you find this page helpful?