Swarm has detected an error

Please investigate the below PHP error:

Connect failed: [P4.connect()] Connect to server failed; check $P4PORT.
connect: 172.16.0.4:1666: No route to host

/opt/perforce/swarm/library/P4/Connection/Extension.php on line 477