Multiple Server IP Addresses

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
mkeeton
Posts: 3
Joined: Fri Feb 22, 2013 3:31 am

Multiple Server IP Addresses

Post by mkeeton » Fri Feb 22, 2013 3:37 am

I currently use Vault for source control within a company network. Therefore the server IP address stored within my Visual Studio solution file is an internal IP (192.168......). Recently I needed to work from home, however found that when opening my solution it wants to connect to an internal IP and refuses to accept that I need to use a different address to connect to the server (which from home needs an external IP).
Unfortunately changing the IP in the solution then reverses the problem with the external IP not workign from within the company network.

Is there a way to get Vault to allow me to connect to the same server from the same solution but using whichever IP I tell it to depending on where I'm working from?

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Multiple Server IP Addresses

Post by lbauer » Fri Feb 22, 2013 8:40 am

Is it possible for you to use a fully qualified domain name instead of the IP address for your Vault Server connection?
Linda Bauer
SourceGear
Technical Support Manager

mkeeton
Posts: 3
Joined: Fri Feb 22, 2013 3:31 am

Re: Multiple Server IP Addresses

Post by mkeeton » Mon Feb 25, 2013 6:27 am

I could use a server domain name internally, however the external IP does not have a domain name attached to it.

The problem is that whichever way I do it, the 1 server has 2 addresses depending on where I connect to it from.

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Multiple Server IP Addresses

Post by lbauer » Mon Feb 25, 2013 11:10 am

One option would be to use the external IP for both connections, and have your internal DNS routing set up to route the external IP to the right internal server.
Linda Bauer
SourceGear
Technical Support Manager

mkeeton
Posts: 3
Joined: Fri Feb 22, 2013 3:31 am

Re: Multiple Server IP Addresses

Post by mkeeton » Tue Feb 26, 2013 7:45 am

I did raise that possibility with our internal IT support but was told that I'd be waiting forever for them to get round to it.
It's just a shame that the system can't just use the IP from the profile information saved in my client rather than one hardcoded into the solution file as that would solve the problem and surely the client could confirm that it was connecting to the right database using a database ID.

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Multiple Server IP Addresses

Post by lbauer » Tue Feb 26, 2013 12:42 pm

Another option and maybe easier to set up -- allow internal users to use the external IP. It will just go outside the network and come back in. It might be slower than routing internally, but would get you something that works.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply