aboutsummaryrefslogtreecommitdiff
path: root/hw/misc/android_adb.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/misc/android_adb.c')
-rw-r--r--hw/misc/android_adb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/misc/android_adb.c b/hw/misc/android_adb.c
index 68da548a0f..3fbfe51ce3 100644
--- a/hw/misc/android_adb.c
+++ b/hw/misc/android_adb.c
@@ -331,7 +331,7 @@ static bool adb_server_listen_incoming(int port)
Error *err = NULL;
int fd;
- host_port = g_strdup_printf("localhost:%d", port);
+ host_port = g_strdup_printf("127.0.0.1:%d", port);
fd = inet_listen(host_port, NULL, 0, SOCK_STREAM, 0, &err);
if (fd < 0) {
return false;