Can I change Mongodb Server's port from 27017 to others

Can I change Mongodb Server’s port from 27017 to others and the Genieacs still can work? I am trying to install TR-369 Server in the same ubuntu Server and because TR-369 requires port 27017 as well, so I need to release it to make it works, however, I found if the change the Mongodb’s port to other port and Genieacs-UI is not able to active.

Well, actually genieacs need a connection URL, not specific any port. Use the port you want and set connection URL in MONGODB_CONNECTION_URL on genieacs.env

It’s strange that the only thing I change is the Mongodb’s port number and I can NOT activate any Genieacs Services and it works again after I change Mongodb’s port back to 27017.

Did you update the .env file to point to the new port and then restart Mongo and all of the GenieACS services?

GENIEACS_MONGODB_CONNECTION_URL=mongodb://127.0.0.1:7017/genieacs

Oh, got you, thank you very much