Perforce 动态 ip [英] Perforce with dynamic ip

查看:60
本文介绍了Perforce 动态 ip的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在一台旧的永远在线的笔记本电脑上设置了一个 perforce 服务器,它总是由路由器分配一个保留地址.我在 no-ip.com 上有一个帐户,它会发送到我的路由器,然后将端口 1666 请求重定向到这台笔记本电脑.

I've set up a perforce server on an old always-on laptop which is always assigned a reserved address by the router. I have have an account at no-ip.com, which sends to my router, which in turn redirects port 1666 requests to this laptop.

当我尝试将 p4port 设置为这个 no-ip.org 地址时,那部分很好,但是当我运行 p4d 时,我得到:

when i try to set p4port to this no-ip.org address, that part is fine, but when i run p4d i get:

Perforce 服务器错误:听 USERNAME.no-ip.org:1666 失败.USERNAME.no-ip.org:1666 上的 TCP 侦听失败.绑定:USERNAME.no-ip.org:1666:WSAEADDRNOTAVAIL

Perforce server error: Listen USERNAME.no-ip.org:1666 failed. TCP listen on USERNAME.no-ip.org:1666 failed. bind: USERNAME.no-ip.org:1666: WSAEADDRNOTAVAIL

而如果我只是将 p4port 设置为 192.168.0.6,我可以使用这个从网络后面访问服务器..但我更愿意能够从外部访问它..

Whereas if i just set the p4port to 192.168.0.6 i can access the server from behind the network using this one.. but i'd rather be able to access it externally as well..

我在这里阅读了另一篇文章,其中有人使用相同的设置工作(http://stackoverflow.com/questions/2397642/online-perforce-repositories,用户是gaminghorror)但他/他没有深入到我显然需要的程度..

I've read one other post on here in which someone had the same setup working (http://stackoverflow.com/questions/2397642/online-perforce-repositories , user was gaminghorror) but s/he hadn't gone into as much depth as I obviously needed..

已尝试关闭路由器和 windows xp 防火墙,xp 和路由器防火墙将 1666 转发到此本地 ip

have tried with router and windows xp firewalls off, and xp and router firewalls forward 1666 to this local ip

干杯!

推荐答案

我的建议是,如果您正在使用 perforce 的免费版本,并且您不必使用它:使用免费的 sourceforge.net SVN 托管您的数据将随处可用.如果您必须使用 Perforce,那么我建议您不要在没有静态广域网 IP 和路由器上正确端口转发的情况下在外部使用它,因为这听起来需要做很多工作.取决于您想要使用源代码管理的真正目的,perforce 真的只适合大型项目,因为免费版本的限制非常大.

My suggestion is that if you are using the free version of perforce and you're not stuck having to using it: use sourceforge.net SVN hosting which is free and your data will be available anywhere. If you have to use Perforce then I'd suggest forgetting about using it externally without having a static WAN IP and the correct port forwarding on your router as it sounds like a lot of work. Depends what you want to use the source control for really, perforce is really only worth it for big projects as the free version is very restrictive.

这篇关于Perforce 动态 ip的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆