can't open port "nodePort XXX" error
Issue
-
Events like the following can be seen in the cluster
Warning listen tcp4 :30504: bind: address already in use 43m kube-proxy can't open port "nodePort for someproject1/someservice5:someport7" (:30504/tcp4), skipping it Warning listen tcp4 :30471: bind: address already in use 43m kube-proxy can't open port "nodePort for someproject2/someservice4:someport8" (:30471/tcp4), skipping it Warning listen tcp4 :31328: bind: address already in use 43m kube-proxy can't open port "nodePort for someproject3/someservice6:someport9" (:31328/tcp4), skipping it
-
Logs of
openshift-sdn
pods show the following2023-02-09T08:59:35.052387621Z E0209 08:59:35.052363 4693 proxier.go:1640] "can't open port, skipping it" err="listen tcp4 :30504: bind: address already in use" port={Description:nodePort for someproject1/someservice6:someport8 IP: IPFamily:4 Port:30504 Protocol:TCP} 2023-02-09T09:01:17.476308955Z E0209 09:01:17.476200 4693 proxier.go:1640] "can't open port, skipping it" err="listen tcp4 :30471: bind: address already in use" port={Description:nodePort for someproject2/someservice5:someport7 IP: IPFamily:4 Port:30471 Protocol:TCP} 2023-02-09T09:01:30.672646725Z E0209 09:01:30.672540 4693 proxier.go:1640] "can't open port, skipping it" err="listen tcp4 :31328: bind: address already in use" port={Description:nodePort for someproject3/someservice4:someport9 IP: IPFamily:4 Port:31328 Protocol:TCP}
Environment
- Red Hat OpenShift Container Platform 4
openshift-sdn
SDN plugin
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.