External vs internal access
Moderator: SourceGear
External vs internal access
Hi,
Wha'ts the best way of dealing with his scenario:-
Got a laptop that I use to access vault in the office, from home or at a client site. This isn't a problem if I can use a vpn as I can login using the internal IP address of the server; 172.20.2.100.
However if I can't use the vpn and need to use HTTP/HTTPS then I need to use an external address(82.152.xx.xx) to access the server. I can login via the vault client as it lets me change the server address on sign in but if I try to access any source it uses the internal address 172.20.2.100 which won't work outside the office. What's the best way of dealing with this ? I could use a dns entry for the vault server e.g. vaultserver and have an entry in the hosts table which I change to either the internal or external address as needed but would prefer not to. I'm using the previous version of Vault to the one just released and am using the the Vault VS 2005 Client.
Thanks
Jim
Wha'ts the best way of dealing with his scenario:-
Got a laptop that I use to access vault in the office, from home or at a client site. This isn't a problem if I can use a vpn as I can login using the internal IP address of the server; 172.20.2.100.
However if I can't use the vpn and need to use HTTP/HTTPS then I need to use an external address(82.152.xx.xx) to access the server. I can login via the vault client as it lets me change the server address on sign in but if I try to access any source it uses the internal address 172.20.2.100 which won't work outside the office. What's the best way of dealing with this ? I could use a dns entry for the vault server e.g. vaultserver and have an entry in the hosts table which I change to either the internal or external address as needed but would prefer not to. I'm using the previous version of Vault to the one just released and am using the the Vault VS 2005 Client.
Thanks
Jim
What's the easiest way of changing the projects to use a dns name rather than an IP address. At the moment I've got:
<SccAuxPath>http://172.20.2.100/VaultService</SccAuxPath>
in all my projects. i've tried unbinding and then binding using a dns name rather than IP addresss but when I exit and reload the project it always looks for 172.20.2.100.
<SccAuxPath>http://172.20.2.100/VaultService</SccAuxPath>
in all my projects. i've tried unbinding and then binding using a dns name rather than IP addresss but when I exit and reload the project it always looks for 172.20.2.100.
You've got the right solution: use DNS rather than IP.
The fact that your binding isn't updating is a bug (that will be fixed in 4.1.1). In the mean time, the work-around is to exit the dialog after unbinding to get it to notice the change:
1) Open the solution (offline if necessary).
2) Go to the change bindings dialog. Unbind everything.
3) Exit the dialog by pressing OK.
4) Go back to the change bindings dialog. Bind everything to the right server.
5) Exit the dialog by pressing OK.
This user had the same problem: http://support.sourcegear.com/viewtopic.php?t=9636
The fact that your binding isn't updating is a bug (that will be fixed in 4.1.1). In the mean time, the work-around is to exit the dialog after unbinding to get it to notice the change:
1) Open the solution (offline if necessary).
2) Go to the change bindings dialog. Unbind everything.
3) Exit the dialog by pressing OK.
4) Go back to the change bindings dialog. Bind everything to the right server.
5) Exit the dialog by pressing OK.
This user had the same problem: http://support.sourcegear.com/viewtopic.php?t=9636
Ian Olsen
SourceGear
SourceGear