F
F
First Name2019-02-27 19:08:32
teamcity
First Name, 2019-02-27 19:08:32

How to set up a deployment to TeamCity locally?

Hello everyone.
Struggling with teamcity.
Now at the deployment stage, how can I deploy the project locally?)
i.e. teamsite locally, and put the project locally.
I write in the step settings:

target: localhost:/var/www
protocol: sftp
method: Uploaded key
username: user
select key : file at /home/user/.ssh/id_rsa

But when deploying, it crashes at this step with such an error
[Step 4/4] Deployment problem: java.net.ConnectException: Connection refused (Connection refused)
[Step 4/4] Step Upload (SSH Upload) failed

What could be the problem?
Thanks in advance for your replies :)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dimonchik, 2019-02-27
@dimonchik2013

obviously
ConnectException: Connection refused (Connection refused)
start with ports
with manual connection

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question