typicode/hotel

.localhost domains isn't working in chrome browser

開放

#272 建立於 2018年1月30日

 (8 則留言) (5 個反應) (0 位負責人)JavaScript (474 個分叉)batch import
help wanted

倉庫指標

星標
 (9,939 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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

貢獻者指南