Open iamludal opened 4 years ago
After running sudo lsof -i:2001
, I found that the port 2001
(which caused an error, logged in daemon.log
) was used by a node
process (which I thought was deriving from hotel).
I killed the process using sudo kill
, and tried to restart hotel
(hotel stop && hotel start
), and now here's how my daemon.log
look like:
20:42:29 - Watching /home/ludal/.hotel/servers
20:42:29 - /home/ludal/.hotel/servers/aikido-roncq.json added
20:42:29 - Add server aikido-roncq
create /home/ludal/.hotel/daemon.pid 58932
20:42:29 - Reading self-signed certificate in ~/.hotel
20:42:29 - Server listening on port 127.0.0.1:2000
20:42:29 - /home/ludal/.hotel/servers/aikido-roncq.json added
20:42:29 - Add server aikido-roncq
20:43:13 - Resolve aikido-roncq
20:43:13 - aikido-roncq has started
However, I'm still unable to reach http://hotel.localhost
(on both Chrome and Firefox)
Setting :
{
"tld": "local"
}
in .hotel/conf.json
seemed to fix my problem. I can now access to hotel.local
(but still not hotel.localhost
).
Edit 2
Setting :
{ "tld": "local" }
in
.hotel/conf.json
seemed to fix my problem. I can now access tohotel.local
(but still nothotel.localhost
).
@iamludal coming back a couple years later to say that this also fixed the issue for me! Thanks!
@everettblakley Wow, I didn’t even remember I’d created this issue. Glad to see that I helped you anyway!
Hello 👋,
I know that's a duplicate issue, but I've searched for everything concerning :
hotel.localhost
,hotel.dev
,ERR_CONNECTION_REFUSED
, and couldn't find any solution.✅
http://localhost:2000
works fine, but ❌http://hotel.localhost
doesn't.I've tried to use another browser, Firefox ("Unable to connect"), use
https
overhttp
, set my proxy settings to 'Automatic' and withhttp://localhost:2000/proxy.pac
as configuration url, but nothing seems to works.Here's the content of
~/.hotel/daemon.log
:If anyone has an idea, please don't hesitate.
Thanks in advance. 😊
Specificiations
Ubuntu 20.04.1 LTS Google Chrome 86.0.4240.111 Mozilla Firefox 82.0 Hotel 0.8.7