• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question Install docker image (RocketChat), on a domain / webhotel.

I have opened the firewall ports incoming/outgoing as advised.
I think that, @Hangover2 suggests to open the 27018 port because it is used in mongo DB config in manual port mapping.
But on your screenshot I see that you are using mapping 27017 -> 27017. In that case I think you need to open the 27017 port, not the 27018. Probably that's the reason of connection timeout.
1729522205098.png
 
I think that, @Hangover2 suggests to open the 27018 port because it is used in mongo DB config in manual port mapping.
But on your screenshot I see that you are using mapping 27017 -> 27017. In that case I think you need to open the 27017 port, not the 27018. Probably that's the reason of connection timeout.
View attachment 27228
I tested that and opened the firewall port too, but too no avail. Same annoying error: MongoServerSelectionError: Server selection timed out after 30000 ms.
I've run out of ideas of what to do. I'm soon at the point where I think I'll just setup a new separate server at our company instead because that would be much faster.
 
@LionKing
Is it really necessary with such high permissions on the those folders?
I mean 777 opens for the whole internet in theory... (Although it is not really a internet served directory)
Why not just 755 instead for example?
"777" permissions are required; otherwise, the MongoDB startup script cannot create its own data structure as the mongodb user, which is created during the image build process.

Regarding your problems: I think you might have a firewall or network issue. However, you could try using the standard port and localhost if you only have one Rocket.Chat instance on the server. In that case, the external port does not need to be opened (Manual mapping 2017 => 2017).

Code:
MONGODB_ADVERTISED_HOSTNAME: 127.0.0.1
MONGODB_ADVERTISED_PORT_NUMBER: 27017
MONGODB_INITIAL_PRIMARY_PORT_NUMBER: 27017
MONGODB_PORT_NUMBER: 27017

Of course, also change the connection strings of Rocket.Chat to use this new port and localhost.
 
Back
Top