[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
From: |
Dan Čermák |
Subject: |
Re: Ubuntu 16.04 server --- Contacting host: elpa.gnu.org:80 when package-refresh-contents |
Date: |
Wed, 17 Jan 2018 13:41:41 +0100 |
If you are setting up a new emacs client, you might want to take a look
at this too: https://glyph.twistedmatrix.com/2015/11/editor-malware.html
tomas@tuxteam.de writes:
> -----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-----
Message not available