Unable to restart ZOWE after reserving the ports for ZOWE gateway (7554) and discovery (7553), found the following errors in the ZOWE log:
Caused by: java.net.BindException: EDC5111I Permission denied. (errno2=0x744C7246)
at java.base/sun.nio.ch.Net.bind0(Native Method)
at java.base/sun.nio.ch.Net.bind(Net.java:555)
at java.base/sun.nio.ch.ServerSocketChannelImpl.netBind(ServerSocketChannelImpl.java:342)
at java.base/sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:299)
at org.apache.tomcat.util.net.NioEndpoint.initServerSocket(NioEndpoint.java:268)
at org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:223)
at org.apache.tomcat.util.net.AbstractEndpoint.bindWithCleanup(AbstractEndpoint.java:1373)
at org.apache.tomcat.util.net.AbstractEndpoint.start(AbstractEndpoint.java:1459)
at org.apache.coyote.AbstractProtocol.start(AbstractProtocol.java:673)
at org.apache.catalina.connector.Connector.startInternal(Connector.java:1055)
... 26 more
and:
ZWES1606W Failed to get JWK. rc=failed to init HTTP request (9), rsn=Connect failed (6). Retry in 10 seconds
ZOWE v3.0
Permission denied usually means the port is reserved by another task or the port is already in use by another task.
TCPPROF member shows both ports are reserved under the jobName ZWESLSTC, this is the wrong configuration.
The jobName for Zowe Gateway is ZWE1AG, and the jobName for Zowe Discovery is ZWE1AD
Update the TCPPROF member with the ports and specific ZWE1 job names and recycle Zowe.
port 7554 is associated with jobname ZWE1AG
port 7553 is associated with jobname ZWE1AD
The complete ZWE1 jobnames and associated ports can be found in the ZOWE IP address requirements