By default, Windows 10 blocks default Wildfly ports 8080 and 8443. Wildfly uses ports 8080 and 8443 to avoid running as a superuser, which can listen on http and https ports 80 and 443, which is not allowed for non-superusers (on MacOS X). Firewall configuration on routers may use port address translation (PAT), sometimes called network address translation (NAT), to map wide area network (WAN) client access of ports 80 and 443 to local area network (LAN) ports 8080 and 8443, the Wildfly defaults.
Unfortunately, a Wildfly application with transport-guarantee set to CONFIDENTIAL in WEB-INF/web.xml will insert port 8443 in https URLs. On the LAN, where port 8080 is part of http URLs, converting to 8443 is appropriate but on the WAN, Windows clients will block outgoing port 8443 by default.
Is there some standalone.xml configuration that could only do rewriting of the https port to 8443 when the original URL explicitly used port 8080 or 8443?
Bob Kirby