'Cannot access Flink dashboard localhost:8081 on windows

I follow the first steps to install Flink. I can start the cluster without any problem

$ start-cluster.sh
Starting cluster.
Starting standalonesession daemon on host DESKTOP-....
Starting taskexecutor daemon on host DESKTOP-....

But I don't get any status from

$ ps aux | grep flink

I can also not access the dashboard via localhost:8081.

There is an older post having these issues, but the solution didn't work for me, since the described conf files do no longer exist, apparently.

My JAVA_HOME is set as C:\Progra~1\Java\jdk1.8.0_311 to avoid issues with the space in Program Files.



Solution 1:[1]

Can you check the logs in the /logs folder? I'm suspecting that C:\Program Files\ could still cause issues because of the space there.

Solution 2:[2]

go to download Flink folder and try bash command

$./bin/start-cluster.sh --daemon bootstrap-server localhost:8081

and run code one more

$ ./bin/flink run examples/streaming/WordCount.jar

if you finished run above code which not issue, go to localhost:8081

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Martijn Visser
Solution 2 user19088231