New user registration link has port 3080 but is working only without port


If new users register the server sends a link like this:
Confirm your email adress

The link is not working unless i remove the port = the “:3080” part of the link, then i get the success message.

Where can i alter this link in the mongodb or what should i do so the port is left out ? I did not come across any suitable option in the web Administration therefor i ask for help.

Server Setup Information

  • Version of Rocket.Chat Server: 3.9.1
  • Operating System: Linux
  • Deployment Method: tar
  • Number of Running Instances: 1
  • DB Replicaset Oplog: active
  • NodeJS Version: v12.18.4
  • MongoDB Version: 4.0.21
  • Proxy: nginx
  • Firewalls involved: yes

Any additional Information

the journalctl also shows “Process Port: 3080”