By   September 2, 2018

Apache Flink – Change Port for web front end

Apache Flink runs the dashboard on port 8081. Since this is a common port there might be conflict with some other services running on the same machines. You might encounter this scenario especially during development when many services are running on the your development machine.

But the port can be changed. Just open conf/flink-conf.yaml file and update the rest.port property.

vi conf/flink-conf.yaml

vi conf/flink-conf.yaml

Now let’s start the cluster using bin/start-cluster.sh.

bin\start-cluster.sh

bin\start-cluster.sh

And flink is launched. You can verify by opening the dashboard in the browser. As you can see we are able top open the front-end using port 8081. The port is also correctly reflected in the job manager configuration details page as follows:

http://localhost:8089

http://localhost:8089