Elasticsearch is opening many ports to communicate with itself, in a single-node setup.
Is this the expected behavior?
If yes kindly mention why around 100 connections established within itself?
I tested with various versions of Elasticsearch, results same.
Below is the output of netstat -ano | findstr PID
for ES 6.5.4
TCP 0.0.0.0:9222 0.0.0.0:0 LISTENING 6824
TCP 0.0.0.0:9322 0.0.0.0:0 LISTENING 6824
TCP 127.0.0.1:50085 127.0.0.1:50086 ESTABLISHED 6824
TCP 127.0.0.1:50086 127.0.0.1:50085 ESTABLISHED 6824
TCP 127.0.0.1:50087 127.0.0.1:50088 ESTABLISHED 6824
TCP 127.0.0.1:50088 127.0.0.1:50087 ESTABLISHED 6824
TCP 127.0.0.1:50089 127.0.0.1:50090 ESTABLISHED 6824
TCP 127.0.0.1:50090 127.0.0.1:50089 ESTABLISHED 6824
TCP 127.0.0.1:50091 127.0.0.1:50092 ESTABLISHED 6824
TCP 127.0.0.1:50092 127.0.0.1:50091 ESTABLISHED 6824
TCP 127.0.0.1:50093 127.0.0.1:50094 ESTABLISHED 6824
TCP 127.0.0.1:50094 127.0.0.1:50093 ESTABLISHED 6824
TCP 127.0.0.1:50095 127.0.0.1:50096 ESTABLISHED 6824
TCP 127.0.0.1:50096 127.0.0.1:50095 ESTABLISHED 6824
TCP 127.0.0.1:50097 127.0.0.1:50098 ESTABLISHED 6824
TCP 127.0.0.1:50098 127.0.0.1:50097 ESTABLISHED 6824
TCP 127.0.0.1:50099 127.0.0.1:50100 ESTABLISHED 6824
TCP 127.0.0.1:50100 127.0.0.1:50099 ESTABLISHED 6824
TCP 127.0.0.1:50101 127.0.0.1:50102 ESTABLISHED 6824
TCP 127.0.0.1:50102 127.0.0.1:50101 ESTABLISHED 6824
TCP 127.0.0.1:50103 127.0.0.1:50104 ESTABLISHED 6824
TCP 127.0.0.1:50104 127.0.0.1:50103 ESTABLISHED 6824
TCP 127.0.0.1:50105 127.0.0.1:50106 ESTABLISHED 6824
TCP 127.0.0.1:50106 127.0.0.1:50105 ESTABLISHED 6824
TCP 127.0.0.1:50107 127.0.0.1:50108 ESTABLISHED 6824
TCP 127.0.0.1:50108 127.0.0.1:50107 ESTABLISHED 6824
TCP 127.0.0.1:50109 127.0.0.1:50110 ESTABLISHED 6824
TCP 127.0.0.1:50110 127.0.0.1:50109 ESTABLISHED 6824
TCP 127.0.0.1:50111 127.0.0.1:50112 ESTABLISHED 6824
TCP 127.0.0.1:50112 127.0.0.1:50111 ESTABLISHED 6824
TCP 127.0.0.1:50113 127.0.0.1:50114 ESTABLISHED 6824
TCP 127.0.0.1:50114 127.0.0.1:50113 ESTABLISHED 6824
TCP 127.0.0.1:50115 127.0.0.1:50116 ESTABLISHED 6824
TCP 127.0.0.1:50116 127.0.0.1:50115 ESTABLISHED 6824
TCP 127.0.0.1:50117 127.0.0.1:50118 ESTABLISHED 6824
TCP 127.0.0.1:50118 127.0.0.1:50117 ESTABLISHED 6824
TCP 127.0.0.1:50119 127.0.0.1:50120 ESTABLISHED 6824
TCP 127.0.0.1:50120 127.0.0.1:50119 ESTABLISHED 6824
TCP 127.0.0.1:50121 127.0.0.1:50122 ESTABLISHED 6824
TCP 127.0.0.1:50122 127.0.0.1:50121 ESTABLISHED 6824
TCP 127.0.0.1:50123 127.0.0.1:50124 ESTABLISHED 6824
TCP 127.0.0.1:50124 127.0.0.1:50123 ESTABLISHED 6824
TCP 127.0.0.1:50125 127.0.0.1:50126 ESTABLISHED 6824
TCP 127.0.0.1:50126 127.0.0.1:50125 ESTABLISHED 6824
TCP 127.0.0.1:50127 127.0.0.1:50128 ESTABLISHED 6824
TCP 127.0.0.1:50128 127.0.0.1:50127 ESTABLISHED 6824
TCP 127.0.0.1:50129 127.0.0.1:50130 ESTABLISHED 6824
TCP 127.0.0.1:50130 127.0.0.1:50129 ESTABLISHED 6824
TCP 127.0.0.1:50131 127.0.0.1:50132 ESTABLISHED 6824
TCP 127.0.0.1:50132 127.0.0.1:50131 ESTABLISHED 6824
TCP 127.0.0.1:50133 127.0.0.1:50134 ESTABLISHED 6824
TCP 127.0.0.1:50134 127.0.0.1:50133 ESTABLISHED 6824
TCP 127.0.0.1:50135 127.0.0.1:50136 ESTABLISHED 6824
TCP 127.0.0.1:50136 127.0.0.1:50135 ESTABLISHED 6824
TCP 127.0.0.1:50137 127.0.0.1:50138 ESTABLISHED 6824
TCP 127.0.0.1:50138 127.0.0.1:50137 ESTABLISHED 6824
TCP 127.0.0.1:50139 127.0.0.1:50140 ESTABLISHED 6824
TCP 127.0.0.1:50140 127.0.0.1:50139 ESTABLISHED 6824
TCP 127.0.0.1:50141 127.0.0.1:50142 ESTABLISHED 6824
TCP 127.0.0.1:50142 127.0.0.1:50141 ESTABLISHED 6824
TCP 127.0.0.1:50143 127.0.0.1:50144 ESTABLISHED 6824
TCP 127.0.0.1:50144 127.0.0.1:50143 ESTABLISHED 6824
TCP 127.0.0.1:50145 127.0.0.1:50146 ESTABLISHED 6824
TCP 127.0.0.1:50146 127.0.0.1:50145 ESTABLISHED 6824
TCP 127.0.0.1:50147 127.0.0.1:50148 ESTABLISHED 6824
TCP 127.0.0.1:50148 127.0.0.1:50147 ESTABLISHED 6824
TCP 127.0.0.1:50149 127.0.0.1:50150 ESTABLISHED 6824
TCP 127.0.0.1:50150 127.0.0.1:50149 ESTABLISHED 6824
TCP 127.0.0.1:50151 127.0.0.1:50152 ESTABLISHED 6824
TCP 127.0.0.1:50152 127.0.0.1:50151 ESTABLISHED 6824
TCP 127.0.0.1:50153 127.0.0.1:50154 ESTABLISHED 6824
TCP 127.0.0.1:50154 127.0.0.1:50153 ESTABLISHED 6824
TCP 127.0.0.1:50155 127.0.0.1:50156 ESTABLISHED 6824
TCP 127.0.0.1:50156 127.0.0.1:50155 ESTABLISHED 6824
TCP 127.0.0.1:50157 127.0.0.1:50158 ESTABLISHED 6824
TCP 127.0.0.1:50158 127.0.0.1:50157 ESTABLISHED 6824
TCP 127.0.0.1:50159 127.0.0.1:50160 ESTABLISHED 6824
TCP 127.0.0.1:50160 127.0.0.1:50159 ESTABLISHED 6824
TCP 127.0.0.1:50161 127.0.0.1:50162 ESTABLISHED 6824
TCP 127.0.0.1:50162 127.0.0.1:50161 ESTABLISHED 6824
TCP 127.0.0.1:50163 127.0.0.1:50164 ESTABLISHED 6824
TCP 127.0.0.1:50164 127.0.0.1:50163 ESTABLISHED 6824
TCP 127.0.0.1:50165 127.0.0.1:50166 ESTABLISHED 6824
TCP 127.0.0.1:50166 127.0.0.1:50165 ESTABLISHED 6824
TCP 127.0.0.1:50167 127.0.0.1:50168 ESTABLISHED 6824
TCP 127.0.0.1:50168 127.0.0.1:50167 ESTABLISHED 6824
TCP 127.0.0.1:50169 127.0.0.1:50170 ESTABLISHED 6824
TCP 127.0.0.1:50170 127.0.0.1:50169 ESTABLISHED 6824
TCP 127.0.0.1:50171 127.0.0.1:50172 ESTABLISHED 6824
TCP 127.0.0.1:50172 127.0.0.1:50171 ESTABLISHED 6824
TCP 127.0.0.1:50173 127.0.0.1:50174 ESTABLISHED 6824
TCP 127.0.0.1:50174 127.0.0.1:50173 ESTABLISHED 6824
TCP 127.0.0.1:50175 127.0.0.1:50176 ESTABLISHED 6824
TCP 127.0.0.1:50176 127.0.0.1:50175 ESTABLISHED 6824
TCP 127.0.0.1:50177 127.0.0.1:50178 ESTABLISHED 6824
TCP 127.0.0.1:50178 127.0.0.1:50177 ESTABLISHED 6824
TCP 127.0.0.1:50179 127.0.0.1:50180 ESTABLISHED 6824
TCP 127.0.0.1:50180 127.0.0.1:50179 ESTABLISHED 6824
TCP 127.0.0.1:50181 127.0.0.1:50182 ESTABLISHED 6824
TCP 127.0.0.1:50182 127.0.0.1:50181 ESTABLISHED 6824
TCP 127.0.0.1:50183 127.0.0.1:50184 ESTABLISHED 6824
TCP 127.0.0.1:50184 127.0.0.1:50183 ESTABLISHED 6824
TCP 127.0.0.1:50185 127.0.0.1:50186 ESTABLISHED 6824
TCP 127.0.0.1:50186 127.0.0.1:50185 ESTABLISHED 6824
TCP 127.0.0.1:50187 127.0.0.1:50188 ESTABLISHED 6824
TCP 127.0.0.1:50188 127.0.0.1:50187 ESTABLISHED 6824
TCP 127.0.0.1:50189 127.0.0.1:50190 ESTABLISHED 6824
TCP 127.0.0.1:50190 127.0.0.1:50189 ESTABLISHED 6824
TCP 127.0.0.1:50191 127.0.0.1:50192 ESTABLISHED 6824
TCP 127.0.0.1:50192 127.0.0.1:50191 ESTABLISHED 6824
TCP 127.0.0.1:50193 127.0.0.1:50194 ESTABLISHED 6824
TCP 127.0.0.1:50194 127.0.0.1:50193 ESTABLISHED 6824
TCP 127.0.0.1:50195 127.0.0.1:50196 ESTABLISHED 6824
TCP 127.0.0.1:50196 127.0.0.1:50195 ESTABLISHED 6824
TCP 127.0.0.1:50197 127.0.0.1:50198 ESTABLISHED 6824
TCP 127.0.0.1:50198 127.0.0.1:50197 ESTABLISHED 6824
TCP 127.0.0.1:50199 127.0.0.1:50200 ESTABLISHED 6824
TCP 127.0.0.1:50200 127.0.0.1:50199 ESTABLISHED 6824
TCP 127.0.0.1:50201 127.0.0.1:50202 ESTABLISHED 6824
TCP 127.0.0.1:50202 127.0.0.1:50201 ESTABLISHED 6824
TCP 127.0.0.1:50203 127.0.0.1:50204 ESTABLISHED 6824
TCP 127.0.0.1:50204 127.0.0.1:50203 ESTABLISHED 6824
TCP 127.0.0.1:50205 127.0.0.1:50206 ESTABLISHED 6824
TCP 127.0.0.1:50206 127.0.0.1:50205 ESTABLISHED 6824
TCP 127.0.0.1:50207 127.0.0.1:50208 ESTABLISHED 6824
TCP 127.0.0.1:50208 127.0.0.1:50207 ESTABLISHED 6824
TCP 127.0.0.1:50209 127.0.0.1:50210 ESTABLISHED 6824
TCP 127.0.0.1:50210 127.0.0.1:50209 ESTABLISHED 6824
TCP 127.0.0.1:50211 127.0.0.1:50212 ESTABLISHED 6824
TCP 127.0.0.1:50212 127.0.0.1:50211 ESTABLISHED 6824
TCP 127.0.0.1:50216 127.0.0.1:50217 ESTABLISHED 6824
TCP 127.0.0.1:50217 127.0.0.1:50216 ESTABLISHED 6824
TCP 127.0.0.1:50218 127.0.0.1:50219 ESTABLISHED 6824
TCP 127.0.0.1:50219 127.0.0.1:50218 ESTABLISHED 6824
TCP 127.0.0.1:50220 127.0.0.1:50221 ESTABLISHED 6824
TCP 127.0.0.1:50221 127.0.0.1:50220 ESTABLISHED 6824
TCP 127.0.0.1:50222 127.0.0.1:50223 ESTABLISHED 6824
TCP 127.0.0.1:50223 127.0.0.1:50222 ESTABLISHED 6824
TCP 127.0.0.1:50224 127.0.0.1:50225 ESTABLISHED 6824
TCP 127.0.0.1:50225 127.0.0.1:50224 ESTABLISHED 6824
TCP 127.0.0.1:50226 127.0.0.1:50227 ESTABLISHED 6824
TCP 127.0.0.1:50227 127.0.0.1:50226 ESTABLISHED 6824
TCP 127.0.0.1:50228 127.0.0.1:50229 ESTABLISHED 6824
TCP 127.0.0.1:50229 127.0.0.1:50228 ESTABLISHED 6824
TCP 127.0.0.1:50230 127.0.0.1:50231 ESTABLISHED 6824
TCP 127.0.0.1:50231 127.0.0.1:50230 ESTABLISHED 6824
TCP 127.0.0.1:50232 127.0.0.1:50233 ESTABLISHED 6824
TCP 127.0.0.1:50233 127.0.0.1:50232 ESTABLISHED 6824
TCP 127.0.0.1:50234 127.0.0.1:50235 ESTABLISHED 6824
TCP 127.0.0.1:50235 127.0.0.1:50234 ESTABLISHED 6824
TCP 127.0.0.1:50236 127.0.0.1:50237 ESTABLISHED 6824
TCP 127.0.0.1:50237 127.0.0.1:50236 ESTABLISHED 6824
TCP 127.0.0.1:50238 127.0.0.1:50239 ESTABLISHED 6824
TCP 127.0.0.1:50239 127.0.0.1:50238 ESTABLISHED 6824
TCP 127.0.0.1:50240 127.0.0.1:50241 ESTABLISHED 6824
TCP 127.0.0.1:50241 127.0.0.1:50240 ESTABLISHED 6824
TCP 127.0.0.1:50242 127.0.0.1:50243 ESTABLISHED 6824
TCP 127.0.0.1:50243 127.0.0.1:50242 ESTABLISHED 6824
TCP 127.0.0.1:50244 127.0.0.1:50245 ESTABLISHED 6824
TCP 127.0.0.1:50245 127.0.0.1:50244 ESTABLISHED 6824
TCP 127.0.0.1:50246 127.0.0.1:50247 ESTABLISHED 6824
TCP 127.0.0.1:50247 127.0.0.1:50246 ESTABLISHED 6824
TCP 127.0.0.1:50248 127.0.0.1:50249 ESTABLISHED 6824
TCP 127.0.0.1:50249 127.0.0.1:50248 ESTABLISHED 6824
TCP 127.0.0.1:50250 127.0.0.1:50251 ESTABLISHED 6824
TCP 127.0.0.1:50251 127.0.0.1:50250 ESTABLISHED 6824
TCP 127.0.0.1:50252 127.0.0.1:50253 ESTABLISHED 6824
TCP 127.0.0.1:50253 127.0.0.1:50252 ESTABLISHED 6824
TCP 127.0.0.1:50254 127.0.0.1:50255 ESTABLISHED 6824
TCP 127.0.0.1:50255 127.0.0.1:50254 ESTABLISHED 6824
TCP 127.0.0.1:50256 127.0.0.1:50257 ESTABLISHED 6824
TCP 127.0.0.1:50257 127.0.0.1:50256 ESTABLISHED 6824
TCP 127.0.0.1:50258 127.0.0.1:50259 ESTABLISHED 6824
TCP 127.0.0.1:50259 127.0.0.1:50258 ESTABLISHED 6824
TCP 127.0.0.1:50260 127.0.0.1:50261 ESTABLISHED 6824
TCP 127.0.0.1:50261 127.0.0.1:50260 ESTABLISHED 6824
TCP 127.0.0.1:50262 127.0.0.1:50263 ESTABLISHED 6824
TCP 127.0.0.1:50263 127.0.0.1:50262 ESTABLISHED 6824
TCP 127.0.0.1:50264 127.0.0.1:50265 ESTABLISHED 6824
TCP 127.0.0.1:50265 127.0.0.1:50264 ESTABLISHED 6824
TCP 127.0.0.1:50266 127.0.0.1:50267 ESTABLISHED 6824
TCP 127.0.0.1:50267 127.0.0.1:50266 ESTABLISHED 6824
TCP 127.0.0.1:50268 127.0.0.1:50269 ESTABLISHED 6824
TCP 127.0.0.1:50269 127.0.0.1:50268 ESTABLISHED 6824
TCP 127.0.0.1:50270 127.0.0.1:50271 ESTABLISHED 6824
TCP 127.0.0.1:50271 127.0.0.1:50270 ESTABLISHED 6824
TCP 127.0.0.1:50272 127.0.0.1:50273 ESTABLISHED 6824
TCP 127.0.0.1:50273 127.0.0.1:50272 ESTABLISHED 6824
TCP 127.0.0.1:50274 127.0.0.1:50275 ESTABLISHED 6824
TCP 127.0.0.1:50275 127.0.0.1:50274 ESTABLISHED 6824
TCP 127.0.0.1:50276 127.0.0.1:50277 ESTABLISHED 6824
TCP 127.0.0.1:50277 127.0.0.1:50276 ESTABLISHED 6824
TCP 127.0.0.1:50278 127.0.0.1:50279 ESTABLISHED 6824
TCP 127.0.0.1:50279 127.0.0.1:50278 ESTABLISHED 6824
TCP [::]:9222 [::]:0 LISTENING 6824
TCP [::]:9322 [::]:0 LISTENING 6824