Hi,
I have one instance configured in backend pool. It's listener is set with 'frontend' public IP, '443' port and 'multi site' listener with 'single' host type. Say, demo.wso2.com
This listener is attached with 'basic' request routing rule. (i.e. no path based routing rules are defined)
It's http setting has configured with following options:
Backend protocol: HTTPS
Backend port: 9443
Override with new host name: Yes
Override with specific domain name: selected
demo.wso2.com
custom probe: no
Backend pool contains virtual machine which has application server deployed on it which listens on port 9443 that's why we set the 'Backend port' as '9443' in httpSettings.
I can telnet this demo.wso2.com on port 9443 from publicly without any issue.
telnet demo.wso2.com
Internally, this application server listening on other ports as well, for example port 10711 and 10500.
I can telnet both ports from within a same private network using VM's hostname and it's IP address.
Using hostname:
telnet demo-wso2 10711
Trying 192.168.0.5...
Connected to demo-wso2.<>.<**>.internal.cloudapp.net.
Escape character is '^]'.
telnet demo-wso2 9443
Trying 192.168.0.5...
Connected to demo-wso2.<>.<**>.internal.cloudapp.net.
Escape character is '^]'.
Using IP address:
telnet 192.168.0.5 10500
Trying 192.168.0.5...
Connected to 192.168.0.5.
Escape character is '^]'.
...I can also telnet port 433 using hostname configured as hostname in HttpSettings and listener but I'm not able to telnet port 10711 and 10500 similarly using fqdn (hostname) set in httpSetting. for example:
Success:
telnet demo.wso2.com 443
Above is success because listener is configured with port 443 and in httpsetting, backend port is configured as 9443.
Fail:
telnet demo.wso2.com 10711
telnet demo.wso2.com 10500
Internally all ports are open and can be telnet(ed) using hostname and private ip address but using fqdn no success at all for just two ports which are 10711 and 10500.
Is there any way we can configure listener/httpSetting so a server in backend pool can listen on more than 1 port publicly. For example as below:
telnet demo.wso2.com 10711
telnet demo.wso2.com 10500
Please let me know if you required any further information.
Best,
Zeeshan