how to access ssh? im confused

how to access ssh? im confused if i try ubuntu@59.22.167.217 get error network error: connection refused