I face issues while testing localhost URLs or private servers in Safari and iOS.
If you are testing Safari 8 or 9 on a desktop OS, or Safari on iOS 8 or iOS 9 devices, please try the following:
- Try replacing 'localhost' in the URL you are using with the IP address of the machine. For example, if you are testing the URL "http://localhost:8080/index.html" try using "http://<machine_ip_address>:8080/index.html" instead.
- Make sure you are using one of the supported ports to test the URL. The list of all supported ports can be found here.