Exchange is a rhino on heat. I get a problem where i can connect only on my local LAN IP connectivity. soon as i switch my IP to my public IP address of my router it does not connect and tries to connect to office 365 online, clearly it is a DNS issue of some sought, mail flow, autodiscover works fine on my mobile and iphone even mac clients. when it comes to windows 10, 11, it just does not connect from a public IP and tries to connect to microsoft 365 online exchange, it needs to default to microsoft exchange on premise, regardless of LAN or WAN IP address. Any ideas?
My exchange works perfect on my mobiles, apple, samsung, OWA, macs, etc, except when i connect from a public IP anywhere then microsoft exchange does not work but i can connect using Microsoft Exchange Active Sync Client for outlook and that goes to my microsoft exchange on premise server. How to make exchange connect from anyIP with out being on the same LAN? 192.168.50.40 my windows desktop client public IP from ISP when on laptop, it fails to connect to exchange on premise and tries to connect to microsoft 365 online, i do not want this. when i switch back to my local IP LAN IP then exchange connects to my on premise server and functions normally. I guess this is fine for people in the office on the same LAN but when they are remote on their laptops then they should be able to connect just the same as if theyre on any IP across the world 4g wifi or any connection. Any one know how to fix this? Clearly it is a DNS issue with windows 2022 Server, Exchange 2019 DNS lookup addresses? As mentioned, i can connect to exchange great on the same IP. soon as i'm on another IP thats public IP on 4g then exchange bails and refuses to connect, i can connect to Microsoft Exchange ActiveSync and OWA, that works fine anywhere but why exchange client on windows dont work on any device away from the office, e.g. on 4g connection?