tags:

views:

65

answers:

2

I'm having trouble checking out a project via svn. I have a repository set up at svn://consideropen.com/home/consider/rvsubversion/project/trunk.

I have no problem checking out the project in NetBeans, but, when I ssh to another server (not the same server as the repository) and run

svn checkout svn://example.com/home/consider/rvsubversion/project/trunk

I get a connection refused error.

Why is this happening?

+1  A: 

Possibly your server is behind a firewall that only permits certain ports through such as 22, 80, and 8080 for example. It might not permit the standard svn protocol port 3690 to pass through.

Try telnet consideropen.com 3690 and see if you get:

( success ( 1 2 ( ANONYMOUS ) ( edit-pipeline svndiff1 absent-entries ) )

If you don't then you are blocked. Your other option would be to set up the repository using subversion with WebDAV. Then your server would be able to access it over port 80 which is usually open.

Amardeep
Also, you can try that with netcat: `nc consideropen.com 3690`
sanmai
A: 

I recommend to master nmap - very powerful port scanning tool

In your case it will be:

$ nmap -sT -r -n -vv -p80,8080 example.com

where -sT mean direct TCP connection, -sS - SYNC or silience

-vv - very verbose

-r - don't randomize ports

-n - don't make DNS resolve

-p{xxx} - ports to scan, different masks are supported, e.g. 80,8081-8088,8090

optional -P0 means don't ping a target host

abatishchev