Forums

Does PythonAnyWhere block outbound connections?

Hi!

I'm new in PythonAnyWhere, and im trying to send some POSTs to a webserver from my webapp. This webserver runs on port 4043.

Maybe its a firewall blocking this connection? Is possible to allow this TCP port?

Thanks

It looks like you had a free account when you posted this, which would have blocked outbound connections to sites that aren't on our whitelist -- I see you've upgraded since then, so hopefully everything should be working fine now...?

Hi Giles, everything is Fine! Is There a way to fix a static IP for outbound connections? Or a name?

Thanks

No, outbound connections will come from whatever server your code is running on.

Is there a way to allow inbound connections to web app only from certain IP addresses?

You can do it in your code, and just drop requests from outside your list.