For few days ago I installed gradle on our buildserver which our TeamCity server is running on too.
Today I noticed that TeamCity is not working anymore and I am getting this error on connection page:
This site can’t be reached temamcity-server refused to connect. ERR_CONNECTION_REFUSED
After digging into logs I found just one warningabout connection inside teamcity-agent.logs and nothing inside teamcity-server.logs. The log messag is this:
[2018-06-21 20:27:51,440] WARN - buildServer.AGENT.registration - Failed to resolve server communication protocol. Will try all protocols: java.net.ConnectException: Connection refused (Connection refused) (enable debug to see stacktrace)
The warning is repeating several times but the first time it appears in the log is exactly after installation of Gradle.
I restarted TeamCity server but nothing has changed. I checked ports but I couldn’t find any conflict.
The system is linux and for installing gralde I just download the zip file and unziped it in /opt/gradle’ and then I added a symlink in /usr/bin. Gradle is working without problem. Somebody knows that how can Gradle installation create problem for Teamcity ?