Which ports should I allow on linux server for Self-hosted bitwarden?

I installed bitwarden in my centos server using the custom port 4443.
Have also paid for certificate and installed it.
It worked fine but today I got 504 error.
The docker logs say:

Blockquote Microsoft.AspNetCore.Server.Kestrel[13]
Connection id “0HMHQG9G5PS43”, Request id “0HMHQG9G5PS43:00000002”: An unhandled exception was thrown by the application.
System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 40 - Could not open a connection to SQL Server)

I found this Admin container can't connect to SQL - #2 by DomitianX
And yes once I disabled firewall it worked fine.
So, which additional ports I have to open on my firewall? 4443 is allowed.
I tried 7277,5000,1433. Doesn’t work.