From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Newsgroups: gmane.emacs.help Subject: Re: Ubuntu 16.04 server --- Contacting host: elpa.gnu.org:80 when package-refresh-contents Date: Wed, 17 Jan 2018 13:12:30 +0100 Message-ID: <20180117121229.GB14008@tuxteam.de> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; x-action=pgp-signed Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1516191242 6116 195.159.176.226 (17 Jan 2018 12:14:02 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 17 Jan 2018 12:14:02 +0000 (UTC) User-Agent: Mutt/1.5.21 (2010-09-15) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 17 13:13:58 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ebmbA-0000Vm-Ey for geh-help-gnu-emacs@m.gmane.org; Wed, 17 Jan 2018 13:13:44 +0100 Original-Received: from localhost ([::1]:59290 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ebmdA-00031C-DK for geh-help-gnu-emacs@m.gmane.org; Wed, 17 Jan 2018 07:15:48 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38975) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ebma4-0001FE-M4 for help-gnu-emacs@gnu.org; Wed, 17 Jan 2018 07:12:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ebma0-0002MJ-FJ for help-gnu-emacs@gnu.org; Wed, 17 Jan 2018 07:12:36 -0500 Original-Received: from mail.tuxteam.de ([5.199.139.25]:60560) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ebma0-0002Kd-4k for help-gnu-emacs@gnu.org; Wed, 17 Jan 2018 07:12:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=20171004; h=From:In-Reply-To:Content-Transfer-Encoding:Content-Type:MIME-Version:References:Message-ID:Subject:To:Date; bh=rWoHfTg6KV4IJzmv3WSBvv3d8PVyuoGtHOtUxbIXl/Q=; b=CzRD+3BAcLG2MCDfYcc5gkGTZ1HNvxjdGPvEOPHPPmi8Ak6ZAQn/P9XUfFTFBqnsjXNyWjRYG15BW8Kisyqch86x1Y4HIeOiCabB0+H36wiByTwjOlH759aHd1rSKpwxPfERZFEJulf7erDTVwtpcy/V8cnwI5UnnZIGLkB4Zua0exEfcqegh5Egpgnn143qjVkQVt9/wf7+Z04TbzqNL1daqJ1vAg50cm3Lfa6CjUCKN8BKM3JmtBPooQV0m/Iya4Q49tHkX9PT1Yi/rhDDYKopscffWuuI1kUYhHXIy53XbYkCEz6x2U7Nk4pEmOBl/JaRbfNsYBmTY9llZoPaWg==; Original-Received: from tomas by mail.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1ebmZy-0005Vq-2x for help-gnu-emacs@gnu.org; Wed, 17 Jan 2018 13:12:30 +0100 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 5.199.139.25 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:115755 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, Jan 17, 2018 at 03:56:34AM -0800, izzy.yichao.cai@gmail.com wrote: > Hi folks, > > I have tried to install elpy in emacs (24.5.1) on my server which is running Ubuntu 16.04. > > When I run M-x package-refresh-contents, emacs successfully connected to stable.melpa.org:443. > After that, it was hanged on "Contacting host: elpa.gnu.org:80". I am pretty sure that I am not behind proxy. I don't know about this... > Then I tried to ping this host and this is what I got: > me@server:~$ ping elpa.gnu.org:80 > ping: unknown host elpa.gnu.org:80 ...but this won't work. Indeed, "elpa.gnu.org:80" isn't a host name. Try pinging "elpa.gnu.org". It's there and replies to pings :) > However, pinging other websites is normal. I also tried to access this (elpa.gnu.org:80) on my local computer and it is accessible. You don't ping websites -- you ping hosts. Actually, elpa.gnu.org is serving a website at port 80 currently. So the URL http://elpa.gnu.org:80/ should get you something (since port 80 is the default for http anyway, you can leave it out). That said, elpa.gnu.org is also serving https, so I'd strongly recommend going with https://elpa.gnu.org/ Cheers - -- tomás -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlpfPa0ACgkQBcgs9XrR2kZ+5wCfUj5LUoKJbu+ty2kjd6fJCKjK d0gAnis0HbxOkzP0n579SeUupTJUFEAa =136e -----END PGP SIGNATURE-----