Spotify docker-maven-plugin can’t connect to localhost:2375 on Windows 10

Error message

[ERROR] Failed to execute goal com.spotify:docker-maven-plugin:0.4.5:build (server) on project web-service: Exception caught: java.util.concurrent.ExecutionException: com.spotify.docker.client.shaded.javax.ws.rs.ProcessingException: org.apache.http.conn.HttpHostConnectException: Connect to localhost:2375 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1, localhost/fe80:0:0:0:0:0:0:1%1] failed: Connection refused -> [Help 1]

Solution

Update Docker setting as follows:


Docker Setting

Reference

  • https://forums.docker.com/t/spotify-docker-maven-plugin-cant-connect-to-localhost-2375/9093/2

你可能感兴趣的:(Spotify docker-maven-plugin can’t connect to localhost:2375 on Windows 10)