typicode/hotel

.localhost domains isn't working in chrome browser

Open

#272 aperta il 30 gen 2018

Vedi su GitHub
 (8 commenti) (5 reazioni) (0 assegnatari)JavaScript (474 fork)batch import
help wanted

Metriche repository

Star
 (9939 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor