0

I tried to run an Apache Flink cluster locally on my MacBook computer. The Flink cluster typically runs on port 8081 and should be available by going to http://localhost:8081/ in a browser.

However, when I start a Flink cluster and go to my localhost, I get the following:

Unable to connect

Firefox can’t establish a connection to the server at localhost:8081.

I get a similar message when I try in Safari or Chrome. I checked my hosts file and everything looks normal. I also turned off my firewall and that had no affect.

I also confirmed that I got the port number correct on this previous question.

Cauder
  • 2,157
  • 4
  • 30
  • 69

1 Answers1

0

I installed the incorrect version of Java. Per the docs, Apache Flink supports Java versions 8 or 11. After uninstalling the incorrect version (17.x) and installing the right one, it works.

Cauder
  • 2,157
  • 4
  • 30
  • 69