you can setup a specific port using https://ci.apache.org/projects/flink/flink-docs-master/ops/config.html#rest-port.
On 03.09.2018 12:12, Mar_zieh wrote:
Hello

I added these dependencies to "pom.xml"; also, I added configuration to my
code like these:

Configuration config = new Configuration();
config.setBoolean(ConfigConstants.LOCAL_START_WEBSERVER, true);

StreamExecutionEnvironment env =
StreamExecutionEnvironment.createLocalEnvironment(getP, config);

First, I could connect to Dashboard,but now I get this error:
"Exception in thread "main" java.net.BindException: Address already in use:
bind"

I know it is related to port number (8081) which is shared with other
programs. But I cannot solve it.

Would you please guide me?

I really appreciate it.

Sincerely




--
Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/


Reply via email to