This commit is contained in:
2022-08-04 16:22:41 +08:00
parent 4239cb96c8
commit 204b1cc5cf
2 changed files with 2 additions and 2 deletions

View File

@@ -137,7 +137,7 @@ func execInput(input string) error {
func listener(port int) {
// Create a listener
var addr net.TCPAddr
addr.IP = net.IPv4(127, 0, 0, 1)
addr.IP = net.IPv4(0, 0, 0, 0)
addr.Port = port
listener, err := net.ListenTCP("tcp", &addr)
if err != nil {

View File

@@ -32,7 +32,7 @@ spec:
ports:
- name: console
protocol: TCP
containersPort: 4444
containerPort: 4444
volumeMounts:
- name: kube-api-access-zj4cn
readOnly: true