Manager, IIS, NAT and invoice link address

We have a manager installed on a Windows server, behind a firewall and serviced by IIS
So far everything is working fine.
But now that there’s a new way to send an invoice as a link, we have a problem with the address of that link.

If the manager address from outside is https://something.ee:2096
but if we send an email with an ivnoice link, the invoice link is https://127.0.0.1:8083/email?xxxxx

Manager uses port 8083 and IIS 2096. Manager and IIS cannot use the same port.

So … In IIS, we were able to change with the rewrait rule IP 127.0.0.1 to the correct address - something.ee, but the port number is the manager port anyway (8083).
But we would need that, the invoice link would have an IIS port number - 2096

Yes, I know, we can forward one port to another port, but are there other ways to change the port number on the invoice link?

Sorry my english :slight_smile:

Why not use public URL whether you are inside or outside? Manager simply assumes whatever URL you are using to access Manager is your public URL. If you are using internal URL then Manager wouldn’t know what’s your public URL anyway so it simply assumes URL you are using to access the site is public.