typicode/hotel

.localhost domains isn't working in chrome browser

Open

#272 创建于 2018年1月30日

在 GitHub 查看
 (8 评论) (5 反应) (0 负责人)JavaScript (9,939 star) (474 fork)batch import
help wanted

描述

I've setup local (.localhost) domains in System configuration and Browser configuration that following this rule https://github.com/typicode/hotel/blob/master/docs/README.md. Then, I've restart hotel and reload network and browser configuration.

when i try to run http://hotel.localhost/ in chrome, the browser response is

"This page isn’t working hotel.localhost didn’t send any data. ERR_EMPTY_RESPONSE" screenshot at jan 30 12-04-04

However, when i try to run http://hotel.localhost/ in safari, hotel is working correctly screenshot at jan 30 12-05-58

Also when i run http://localhost:2000/ hotel is working correctly both chrome and safari.

Chrome Version 63.0.3239.132 (Official Build) (64-bit) Safari Version 11.0.1 (13604.3.5) MAC OS High Sierra Version 10.13.1

贡献者指南