[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Ubuntu 16.04 server --- Contacting host: elpa.gnu.org:80 when packag
Re: Ubuntu 16.04 server --- Contacting host: elpa.gnu.org:80 when package-refresh-contents
Wed, 17 Jan 2018 13:12:30 +0100
-----BEGIN PGP SIGNED MESSAGE-----
On Wed, Jan 17, 2018 at 03:56:34AM -0800, address@hidden 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
> 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:
> address@hidden:~$ 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/
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
-----END PGP SIGNATURE-----
Message not available