Note that the REST port (8080) isn’t open by default (you have to enable it) and that it doesn’t have the port-range. If it can’t bind to port 8080 it fails to start. You can change the port number manually with the IGNITE_JETTY_PORT property.
> On 13 May 2020, at 15:44, Evgenii Zhuravlev <[email protected]> wrote: > > Hi, > > Ports are described here: > https://dzone.com/articles/a-simple-checklist-for-apache-ignite-beginners > <https://dzone.com/articles/a-simple-checklist-for-apache-ignite-beginners> > > Basically, Discovery(47500 by default) and Communication(47100) are always > should be open, since without them cluster won't be functional. Discovery > port used for clustering, checking all nodes state in the cluster. > > Communication > port(https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/spi/communication/tcp/TcpCommunicationSpi.html#setLocalPort-int- > > <https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/spi/communication/tcp/TcpCommunicationSpi.html#setLocalPort-int->) > used for all other communications between nodes, for example, cache > operations requests, compute jobs, etc. > > Rest Port(8080) is used for rest > calls(https://apacheignite.readme.io/docs/rest-api > <https://apacheignite.readme.io/docs/rest-api>) and connection from > WebConsole(Management tool) > > Client connector port(10800) is used for the > JDBC(https://apacheignite-sql.readme.io/docs/jdbc-driver > <https://apacheignite-sql.readme.io/docs/jdbc-driver>), > ODBC(https://apacheignite-sql.readme.io/docs/odbc-driver > <https://apacheignite-sql.readme.io/docs/odbc-driver>) or other thin > clients(https://apacheignite.readme.io/docs/java-thin-client > <https://apacheignite.readme.io/docs/java-thin-client>) connection. > > 11211 - Port for Thick Jdbc Driver and old rest protocol. > > Note that all ports also have port range, which means that if the default > port is already in use, it will try to use the next one. > > Evgenii > > > > > > вт, 12 мая 2020 г. в 22:56, kay <[email protected] > <mailto:[email protected]>>: > Hello, I started ignite node and checked log file. > > I found TCP ports in logs > > >>> Local ports : TCP:8080 TCP:11213 TCP:47102 TCP:49100 TCP:49200 > > I set 49100, 49200 port at configuration file for ignite node and client > connector port. > but I don't know the others port exactly. > > I found a summary at log. > > [Node 1] > TCP binary : 8080 > Jetty REST : 11213 > Communication spi : 47102 > > [Node 2] > TCP binary : 8081 > Jetty REST : 11214 > Communication spi : 47103 > > Could you guys tell me where each port is used?? > > Is it necessary ports? > Do I need 5 ports each time add a new node all of different port? > if it is true, how can i set TCP binary port(8080) & Jetty REST(11213) at > configuration file ?? > > > > > > > -- > Sent from: http://apache-ignite-users.70518.x6.nabble.com/ > <http://apache-ignite-users.70518.x6.nabble.com/>
