diff --git a/src/openocd.ts b/src/openocd.ts index c4543650..11e02a24 100644 --- a/src/openocd.ts +++ b/src/openocd.ts @@ -421,7 +421,7 @@ export class OpenOCDServerController extends EventEmitter implements GDBServerCo const tclPortName = createPortName(0, 'tclPort'); const tclPortNum = this.ports[tclPortName]; const obj = { - host: 'localhost', + host: '127.0.0.1', port: tclPortNum }; this.tclSocket = net.createConnection(obj, () => {