开发者

Cannot connect to svn server (svnserve)

开发者 https://www.devze.com 2022-12-17 18:02 出处:网络
I\'ve set up using many tutorials from the web a repository and svnserve on my mac. But I cannot access it from the internet.

I've set up using many tutorials from the web a repository and svnserve on my mac.

But I cannot access it from the internet.

If I call the following command everything works alright:

svn co svn://192.168.1.10 /working_copy/myproject --username me

And If I call th开发者_如何学Pythone following:

svn co svn://my_external_ip /working_copy/myproject --username me

I get a error: Can't connect to host 'my_external_ip': Connection refused

Of course instead of my_external_ip I type in my external ip address that I got from whatismyip.com

I've set up port forwarding on my router for port 3690 to my local ip - 192.168.1.10

svnserve is running. I launched it with:

svnserve -d

I tried to check if port 3690 is open using http://www.canyouseeme.org/ and it says that the port is open.

What may be the problem? I'm trying to figure it out for the whole day and can't find the cause.

Thank you in advance.


Where are you when you try the "svn co svn://my_external_ip" command? Chances are that won't work when you're still on your own LAN - cheap NAT routers typically do not forward traffic directed at the public IP coming from the LAN. While you're on your own LAN, you'll need to use the internal IP.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号