Issue
Today i have an issue. I cant do push/pulls in my Debian(on VM VirtualBox) using Mercurial HG. What I have:
- Corporate VPN
- Oracle VM Virtual Box with launched Debian-based system
- Mercurial repository in my Debian-based system
The problem is: when I try to do a push, I get a bunch of errors Name or service not known
. To solve it I tried to edit hgrc
file by replacing this:
[paths]
default = http://SERVER_NAME_STRING
by this:
[paths]
default = http://SERVER_IP_ADRES
And it works! But I have to do it manually for each of hundreds hgrc
files in my workspace tree. Can I fix this problem without editing of all of this files? (no matter manually or BASH scripts etc)
Solution
SOLUTION
There is 2 options:
- Ask your system administrator for IP address of yours corporate DNS server and edit your DNS settings, by this IP
- (The easiest one) Open
/etc/hosts
file and add new string of settings, by formatIP_ADDRESS
DOMAIN
After this action you will be able to ping your SVC server by domain.
Answered By - Nikita Albekov