tammychiu2 0 Posted ... I am new to VPN, just downloaded a 3 day trial of AirVPN but I cannot connect to any server. Please can anyone tell me what to do, many thanks. Quote Share this post Link to post
Staff 9973 Posted ... Hello, from what we can see in the screenshot your system can't resolve the name "localhost". Your hosts file has been somehow modified incorrectly. Please fix by inserting the line:127.0.0.1 localhost as first line of the hosts in your hosts file. Instructions on how to edit the hosts file in your Operating System can be found by using any web search engine (if in doubt, tell us your exact OS version). Side note: please never send logs in pics, send text instead. Kind regards Quote Share this post Link to post
tammychiu2 0 Posted ... Hello, from what we can see in the screenshot your system can't resolve the name "localhost". Your hosts file has been somehow modified incorrectly. Please fix by inserting the line:127.0.0.1 localhost as first line of the hosts in your hosts file. Instructions on how to edit the hosts file in your Operating System can be found by using any web search engine (if in doubt, tell us your exact OS version). Side note: please never send logs in pics, send text instead. Kind regards Thanks for your reply.The first line the of hosts file is already 127.0.0.1 localhost, but it still isn't working when I tried it again.Here are the logs: I 2016.09.04 11:47:17 - AirVPN client version: 2.10.3 / x86, System: OSX, Name: 10.11.6 / x64. 2016.09.04 11:47:17 - Reading options from /Users/melaniecheung/.airvpn/AirVPN.xml. 2016.09.04 11:47:17 - Data Path: /Users/melaniecheung/.airvpn. 2016.09.04 11:47:17 - App Path: /Applications/AirVPN.app/Contents/MacOS. 2016.09.04 11:47:17 - Executable Path: /Applications/AirVPN.app/Contents/MacOS/AirVPN. 2016.09.04 11:47:17 - Command line arguments (0):. 2016.09.04 11:47:18 - Updating systems & servers data .... 2016.09.04 11:47:18 - Operating System: Unix 15.6.0.0 - Darwin Melanies-MacBook-Pro.local 15.6.0 Darwin Kernel Version 15.6.0: Thu Jun 23 18:25:34 PDT 2016; root:xnu-3248.60.10~1/RELEASE_X86_64 x86_64I 2016.09.04 11:47:18 - OpenVPN Driver - ExpectedI 2016.09.04 11:47:18 - OpenVPN - Version: OpenVPN 2.3.8 (/Applications/AirVPN.app/Contents/MacOS/openvpn)I 2016.09.04 11:47:18 - SSH - Version: OpenSSH_6.9p1, LibreSSL 2.1.8 (/usr/bin/ssh)I 2016.09.04 11:47:18 - SSL - Version: stunnel 5.17 (/Applications/AirVPN.app/Contents/MacOS/stunnel)! 2016.09.04 11:47:18 - ReadyI 2016.09.04 11:47:22 - Session starting.I 2016.09.04 11:47:22 - IPv6 disabled on network adapter (Wi-Fi)I 2016.09.04 11:47:22 - IPv6 disabled on network adapter (iPhone USB)I 2016.09.04 11:47:22 - IPv6 disabled on network adapter (Bluetooth PAN)I 2016.09.04 11:47:22 - IPv6 disabled on network adapter (Thunderbolt Bridge). 2016.09.04 11:47:26 - Systems & servers data update completedI 2016.09.04 11:47:30 - Checking authorization ...! 2016.09.04 11:47:32 - Connecting to Gemma (Canada, Vancouver). 2016.09.04 11:47:32 - OpenVPN > OpenVPN 2.3.8 x86_64-apple-darwin14.4.0 [sSL (OpenSSL)] [LZO] [MH] [iPv6] built on Aug 13 2015. 2016.09.04 11:47:32 - OpenVPN > library versions: OpenSSL 1.0.2d 9 Jul 2015, LZO 2.08. 2016.09.04 11:47:37 - OpenVPN > RESOLVE: Cannot resolve host address: localhost: nodename nor servname provided, or not known. 2016.09.04 11:47:37 - OpenVPN > Exiting due to fatal error! 2016.09.04 11:47:37 - Disconnecting. 2016.09.04 11:47:37 - Connection terminated.I 2016.09.04 11:47:40 - Cancel requested.I 2016.09.04 11:47:40 - IPv6 restored on network adapter (Wi-Fi)I 2016.09.04 11:47:40 - IPv6 restored on network adapter (iPhone USB)I 2016.09.04 11:47:40 - IPv6 restored on network adapter (Bluetooth PAN)I 2016.09.04 11:47:40 - IPv6 restored on network adapter (Thunderbolt Bridge)! 2016.09.04 11:47:40 - Session terminated.I 2016.09.04 11:48:35 - Session starting.I 2016.09.04 11:48:35 - IPv6 disabled on network adapter (Wi-Fi)I 2016.09.04 11:48:35 - IPv6 disabled on network adapter (iPhone USB)I 2016.09.04 11:48:35 - IPv6 disabled on network adapter (Bluetooth PAN)I 2016.09.04 11:48:35 - IPv6 disabled on network adapter (Thunderbolt Bridge)I 2016.09.04 11:48:35 - Checking authorization ...! 2016.09.04 11:48:36 - Connecting to Gemma (Canada, Vancouver). 2016.09.04 11:48:36 - OpenVPN > OpenVPN 2.3.8 x86_64-apple-darwin14.4.0 [sSL (OpenSSL)] [LZO] [MH] [iPv6] built on Aug 13 2015. 2016.09.04 11:48:36 - OpenVPN > library versions: OpenSSL 1.0.2d 9 Jul 2015, LZO 2.08. 2016.09.04 11:48:41 - OpenVPN > RESOLVE: Cannot resolve host address: localhost: nodename nor servname provided, or not known. 2016.09.04 11:48:41 - OpenVPN > Exiting due to fatal error! 2016.09.04 11:48:41 - Disconnecting. 2016.09.04 11:48:41 - Connection terminated.I 2016.09.04 11:48:42 - Cancel requested.I 2016.09.04 11:48:42 - IPv6 restored on network adapter (Wi-Fi)I 2016.09.04 11:48:42 - IPv6 restored on network adapter (iPhone USB)I 2016.09.04 11:48:42 - IPv6 restored on network adapter (Bluetooth PAN)I 2016.09.04 11:48:42 - IPv6 restored on network adapter (Thunderbolt Bridge)! 2016.09.04 11:48:42 - Session terminated.I 2016.09.04 11:55:29 - Session starting.I 2016.09.04 11:55:30 - IPv6 disabled on network adapter (Wi-Fi)I 2016.09.04 11:55:30 - IPv6 disabled on network adapter (iPhone USB)I 2016.09.04 11:55:30 - IPv6 disabled on network adapter (Bluetooth PAN)I 2016.09.04 11:55:30 - IPv6 disabled on network adapter (Thunderbolt Bridge)I 2016.09.04 11:55:30 - Checking authorization ...! 2016.09.04 11:55:31 - Connecting to Gemma (Canada, Vancouver). 2016.09.04 11:55:31 - OpenVPN > OpenVPN 2.3.8 x86_64-apple-darwin14.4.0 [sSL (OpenSSL)] [LZO] [MH] [iPv6] built on Aug 13 2015. 2016.09.04 11:55:31 - OpenVPN > library versions: OpenSSL 1.0.2d 9 Jul 2015, LZO 2.08. 2016.09.04 11:55:36 - OpenVPN > RESOLVE: Cannot resolve host address: localhost: nodename nor servname provided, or not known. 2016.09.04 11:55:36 - OpenVPN > Exiting due to fatal error! 2016.09.04 11:55:36 - Disconnecting. 2016.09.04 11:55:36 - Connection terminated.I 2016.09.04 11:55:39 - Checking authorization ...! 2016.09.04 11:55:40 - Connecting to Gemma (Canada, Vancouver). 2016.09.04 11:55:40 - OpenVPN > OpenVPN 2.3.8 x86_64-apple-darwin14.4.0 [sSL (OpenSSL)] [LZO] [MH] [iPv6] built on Aug 13 2015. 2016.09.04 11:55:40 - OpenVPN > library versions: OpenSSL 1.0.2d 9 Jul 2015, LZO 2.08. 2016.09.04 11:55:45 - OpenVPN > RESOLVE: Cannot resolve host address: localhost: nodename nor servname provided, or not known. 2016.09.04 11:55:45 - OpenVPN > Exiting due to fatal error! 2016.09.04 11:55:45 - Disconnecting. 2016.09.04 11:55:45 - Connection terminated.I 2016.09.04 11:55:48 - Checking authorization ...! 2016.09.04 11:55:49 - Connecting to Gemma (Canada, Vancouver). 2016.09.04 11:55:49 - OpenVPN > OpenVPN 2.3.8 x86_64-apple-darwin14.4.0 [sSL (OpenSSL)] [LZO] [MH] [iPv6] built on Aug 13 2015. 2016.09.04 11:55:49 - OpenVPN > library versions: OpenSSL 1.0.2d 9 Jul 2015, LZO 2.08. 2016.09.04 11:55:54 - OpenVPN > RESOLVE: Cannot resolve host address: localhost: nodename nor servname provided, or not known. 2016.09.04 11:55:54 - OpenVPN > Exiting due to fatal error! 2016.09.04 11:55:54 - Disconnecting. 2016.09.04 11:55:54 - Connection terminated.I 2016.09.04 11:55:57 - Checking authorization ...! 2016.09.04 11:55:59 - Connecting to Gemma (Canada, Vancouver). 2016.09.04 11:55:59 - OpenVPN > OpenVPN 2.3.8 x86_64-apple-darwin14.4.0 [sSL (OpenSSL)] [LZO] [MH] [iPv6] built on Aug 13 2015. 2016.09.04 11:55:59 - OpenVPN > library versions: OpenSSL 1.0.2d 9 Jul 2015, LZO 2.08. 2016.09.04 11:56:04 - OpenVPN > RESOLVE: Cannot resolve host address: localhost: nodename nor servname provided, or not known. 2016.09.04 11:56:04 - OpenVPN > Exiting due to fatal error! 2016.09.04 11:56:05 - Disconnecting. 2016.09.04 11:56:05 - Connection terminated.I 2016.09.04 11:56:08 - Checking authorization ...! 2016.09.04 11:56:09 - Connecting to Gemma (Canada, Vancouver). 2016.09.04 11:56:09 - OpenVPN > OpenVPN 2.3.8 x86_64-apple-darwin14.4.0 [sSL (OpenSSL)] [LZO] [MH] [iPv6] built on Aug 13 2015. 2016.09.04 11:56:09 - OpenVPN > library versions: OpenSSL 1.0.2d 9 Jul 2015, LZO 2.08. 2016.09.04 11:56:14 - OpenVPN > RESOLVE: Cannot resolve host address: localhost: nodename nor servname provided, or not known. 2016.09.04 11:56:14 - OpenVPN > Exiting due to fatal error! 2016.09.04 11:56:14 - Disconnecting. 2016.09.04 11:56:14 - Connection terminated.I 2016.09.04 11:56:17 - Checking authorization ...! 2016.09.04 11:56:18 - Connecting to Gemma (Canada, Vancouver). 2016.09.04 11:56:18 - OpenVPN > OpenVPN 2.3.8 x86_64-apple-darwin14.4.0 [sSL (OpenSSL)] [LZO] [MH] [iPv6] built on Aug 13 2015. 2016.09.04 11:56:18 - OpenVPN > library versions: OpenSSL 1.0.2d 9 Jul 2015, LZO 2.08. 2016.09.04 11:56:23 - OpenVPN > RESOLVE: Cannot resolve host address: localhost: nodename nor servname provided, or not known. 2016.09.04 11:56:23 - OpenVPN > Exiting due to fatal error! 2016.09.04 11:56:23 - Disconnecting. 2016.09.04 11:56:23 - Connection terminated.I 2016.09.04 11:56:26 - Checking authorization ...! 2016.09.04 11:56:27 - Connecting to Gemma (Canada, Vancouver). 2016.09.04 11:56:27 - OpenVPN > OpenVPN 2.3.8 x86_64-apple-darwin14.4.0 [sSL (OpenSSL)] [LZO] [MH] [iPv6] built on Aug 13 2015. 2016.09.04 11:56:27 - OpenVPN > library versions: OpenSSL 1.0.2d 9 Jul 2015, LZO 2.08. 2016.09.04 11:56:32 - OpenVPN > RESOLVE: Cannot resolve host address: localhost: nodename nor servname provided, or not known. 2016.09.04 11:56:32 - OpenVPN > Exiting due to fatal error! 2016.09.04 11:56:32 - Disconnecting. 2016.09.04 11:56:32 - Connection terminated.I 2016.09.04 11:56:36 - Checking authorization ...! 2016.09.04 11:56:36 - Connecting to Gemma (Canada, Vancouver). 2016.09.04 11:56:36 - OpenVPN > OpenVPN 2.3.8 x86_64-apple-darwin14.4.0 [sSL (OpenSSL)] [LZO] [MH] [iPv6] built on Aug 13 2015. 2016.09.04 11:56:36 - OpenVPN > library versions: OpenSSL 1.0.2d 9 Jul 2015, LZO 2.08. 2016.09.04 11:56:41 - OpenVPN > RESOLVE: Cannot resolve host address: localhost: nodename nor servname provided, or not known. 2016.09.04 11:56:41 - OpenVPN > Exiting due to fatal error! 2016.09.04 11:56:41 - Disconnecting. 2016.09.04 11:56:41 - Connection terminated.I 2016.09.04 11:56:44 - Cancel requested.I 2016.09.04 11:56:44 - IPv6 restored on network adapter (Wi-Fi)I 2016.09.04 11:56:44 - IPv6 restored on network adapter (iPhone USB)I 2016.09.04 11:56:44 - IPv6 restored on network adapter (Bluetooth PAN)I 2016.09.04 11:56:44 - IPv6 restored on network adapter (Thunderbolt Bridge)! 2016.09.04 11:56:44 - Session terminated. Quote Share this post Link to post
Staff 9973 Posted ... Hello! There an inconsistency between your claims and your system claims. Both can't be true at the same time: The first line the of hosts file is already 127.0.0.1 localhost, but it still isn't working when I tried it again. . 2016.09.04 11:48:41 - OpenVPN > RESOLVE: Cannot resolve host address: localhost: nodename nor servname provided, or not known Kind regards Quote Share this post Link to post
tammychiu2 0 Posted ... Hello! There an inconsistency between your claims and your system claims. Both can't be true at the same time: The first line the of hosts file is already 127.0.0.1 localhost, but it still isn't working when I tried it again. . 2016.09.04 11:48:41 - OpenVPN > RESOLVE: Cannot resolve host address: localhost: nodename nor servname provided, or not known Kind regards Do I add 'localhost' behind 127.0.0.1 in each column? (Am I at the right place to edit?) Thanks! Quote Share this post Link to post
Staff 9973 Posted ... Hello, please add the line:127.0.0.1 localhost anywhere in the hosts file. Kind regards Quote Share this post Link to post
tammychiu2 0 Posted ... Hello, please add the line:127.0.0.1 localhost anywhere in the hosts file. Kind regards '127.0.0.1 localhost' is already in the hosts file, but it isn't working Quote Share this post Link to post
Staff 9973 Posted ... Hello!Either that's not the hosts file used by the system or you didn't save it after the edit (we see it's "Locked" according to the editor). Kind regards Quote Share this post Link to post