I install apache flink 1.18 on wsl2 ubuntu of windows 11. The installation is successful and <FLINK_HOME>/bin/start-cluster.sh command works without error. But the connection from the windows 11 web browser to apache flink on wsl2 ubuntu (http://localhost:8081) fails even if I open the flink port 8081 on wsl2 ubuntu.
$ sudo ufw allow 8081/tcp
So this time for test, I install tomcat9 on wsl2 ubuntu like below
$ sudo apt install tomcat9
The connection from windows 11 to tomcat9 on wsl2 ubuntu is successful like below.
I confirm port 8080 and 8081 is forwading on wsl2 ubuntu with netstate command.
How can I connect to apache flink from windows 11 local network? Any reply will be grateful.Best regards!