How-To Get bubble to listen on IPv6?

Posted in: s/GmCapsule

๐Ÿญ jmjl

2023-10-21 ยท 3 years ago

3 Comments โ†“

๐ŸŒ† skyjake [mod...] ยท 2023-10-21 at 14:18:

GmCapsule currently only supports listening on a single bound address/port.

I don't recall testing it on IPv6, but in theory it should work fine since it's handled by the lower-level Python APIs. You just need to configure a IPv6 address in the server config.

What is needed here is to improve GmCapsule so that it can open additional listening sockets for one server instance.

๐Ÿญ jmjl [OP] ยท 2023-10-21 at 15:05:

Yes, I forgot to check IPv6 support when I configured it, I guess I'll keep it IPv4 only as I don't want to make heavoc having two server instances possibly fighting over something when running bubble.

๐ŸŒ† skyjake [mod...] ยท 2023-10-21 at 15:14:

Now that I think about it, you should be able to run multiple server instances connected to the same Bubble database. That's essentially what the default multiprocessing config does. Would be interesting to see how it works.

Only one server should send out email notifications, though.