Password reset email goes with incorrect port 8000

When resetting the password the url goes with port 8000. Can’t figure out where is this 8000 coming from?

Checked the following:

  1. site_config.json - Couldn’t find it here.
  2. Checked code frappe/verified_command.py at a7de780715514e9b6082f373288a1d5bc63fac00 · frappe/frappe · GitHub
  3. Checked frappe/socketio.js at f3b959b1fe89fb4ea66e88b3f600c9869da791d5 · frappe/frappe · GitHub

How to figure out where is frappe.utils located as that’s the one that is fired?

Thanks in advance

1 Like

Found out that the port 8000 is automatically appended if the site is in the developer mode.

I am using the below version:
Installed Apps
ERPNext: v11.0.3-beta.24 () (develop)

Frappe Framework: v11.0.3-beta.29 () (develop)

Should I raise a bug or is this the intended behavior. There is no site running on port 8000 as of now.

This may fix