IntelliJ IDEA 2020.2 cannot build my maven projects (Connection refused to host:


java.lang.RuntimeException: Cannot start maven service 

. . . . .

Caused by: java.rmi.ConnectException: Connection refused to host:; nested exception is:

. . . . .

Caused by: Connection refused (Connection refused)

ho can i solve this issue?

1 comment
Comment actions Permalink

It looks like something is blocking connections to localhost. Please see the manual for possible reasons at .


Please sign in to leave a comment.