Hello Oscar Bergenbrink
Thanks for the reply!
We did a repro on your setup,
- And, would like to inform you that separate listeners need to be created to handle port 80/443 traffic and another port (e.g., 8080 for websocket traffic).
- Additionally, separate routing rules must be created to map the HTTP/HTTPS traffic and another routing rule with path-based routing for websocket traffic.
- Please ensure that separate backend HTTP settings are configured: one for HTTP/HTTPS and another for port 8080. You can configure a single backend pool to accept both HTTP/HTTPS and websocket traffic (e.g., port 8080).
NOTE: you cannot use two listeners with same frontend port on same application gateway Public IP
MY LAB SETUP:
STEP 1: Listener configuration
STEP 2: Backend Settings
STEP 3: Custom Probe
STEP 4: Routing Rules
4.a) Default rule (80/ 443)
Listeners
Backend Targets
4.b) Path Based (Web socket Traffic)
Listeners
- If you want to see the test results I am posting via private messages, were you able to validate them.
Can you please update us if the action plan provided by was helpful?
Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.