The python project on IDX cannot connect to a server that is located somewhere else.
I don’t have any problems connecting with the same script from my local machine to the mongodb, but on IDX I cannot establish any connection to it.
I guess it’s not the Backend Port then, correct?
I might not understand correctly. Is it something that recently changed on IDX?
It was working without any problems a while ago. Now it does not work on any project I have.
I have port 9000 as public address, and added 27017 for mongodb (like on the db server).
But it does not show up in the List of “Backend Ports”, but over the shift+cmd+p (get public ports) it is listed.
Also, I am not sure what you mean by auth token. The Credentials for the URI?mongodb://CREDENTIALS:CREDENTIALS@example.com:27017/
There should not be a reason why it is account related and either the port is not getting picked up properly in the IDX extension or the wrong port is being used.
Have you checked the MongoDB Atlas console? Connection timeouts often happen because your workspace IP might have changed and is no longer in the whitelist. Try setting the whitelisted IP to 0.0.0.0/0 (allow access from anywhere) and test again. This should help if the issue is related to IP restrictions, which is common when working in environments where your IP address might change.