We have a requirement to restrict the access to view IS admin page from all other ports except the primary and diagnostic ports. But still the HTTP/S request should flow in.
Is there a way we can achieve this? Please let me know if anyone has any idea on this.
To restrict access to view admin page in the simplest way you can add some built-in services to deny list on port. If you add wm.server.ui:mainMenu it shold be enought.