The problem usually occurs when local port 6379 is either blocked or used by another service.
To solve this, try the following:
- Make sure that your firewall does not block local port 6379 (see Genymotion Desktop and firewalls)
-
Verify that no other service or software is using the port, with the following command in a terminal:
sudo lsof -i :6379 - Stop or kill the service or software using this port.
For example, redis server often use this port, so if the sudo lsof -i :6379 returns this:
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
redis-srv 1234 redis 6u IPv4 0x1234 0t0 TCP *:6379 (LISTEN)Then, you must stop redis server with the following command before using Genymotion Desktop:
brew services stop redisLocal port 6379 is used by redis server by default. To avoid having to stop redis server each time you run Genymotion Desktop, we recommend setting a different port for redis server. To do so, change the "port" directive in your "redis.conf" configuration file.