Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Not A Problem
-
None
-
None
-
None
-
kafka_2.9.2-0.8.1.1
Description
while running kafka service , four random ports have been opened . In which , 8888 and 9092 are setted by myself , but 28538 and 16650 are opened randomly . Can you help me that why this random ports will be opened , and how can we give them constant values ? Thank you very much .
[work@02 kafka]$ jps
8400 Jps
727 Kafka
[work@02 kafka]$ netstat -tpln|grep 727
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp 0 0 0.0.0.0:8888 0.0.0.0:* LISTEN 727/./bin/../jdk1.7
tcp 0 0 0.0.0.0:28538 0.0.0.0:* LISTEN 727/./bin/../jdk1.7
tcp 0 0 0.0.0.0:9092 0.0.0.0:* LISTEN 727/./bin/../jdk1.7
tcp 0 0 0.0.0.0:16650 0.0.0.0:* LISTEN 727/./bin/../jdk1.7