Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Testing localhost on browserstack - Safari 8 (on Yosemite) cant open my site

Tags:

I have problems with testing my site hosted on IIS Express via Browserstack. When I try to open it using Safari 8 (on latest osx) I get message: "Safari cant connect to the server". I have tried on other OS or other browsers and it works, but under latest safari it wont... Does anyone know what the problem is? Im using BS extensions for Firefox or for Chrome. My serves is running, I have access to it via local browser.

like image 995
kzg Avatar asked Feb 22 '15 17:02

kzg


People also ask

How do I use local client browser is Safari BrowserStack?

You can launch the Live dashboard right from the app by clicking on the BrowserStack Local icon in your menu bar and navigating to Launch > Live . To resolve all requests to local URLs via your machine, click on the Local Testing icon and check Resolve all URLs through my network option.

Can I use BrowserStack with localhost?

Introduction. Using Local testing, BrowserStack enables you to run automated tests on your internal development environments, on localhost, staging setups, or from behind a corporate firewall.

Does BrowserStack support Safari?

BrowserStack provides instant access to real devices with pre-installed Safari versions for extensive browser testing on Safari. Developers and QA testers can now test on multiple versions, from Safari 4 to Safari 12.1.

How do I open a local URL in BrowserStack?

To start using it, install BrowserStack Local, go to your Browser Live dashboard, click on the 'Settings' button on the dock, and select 'Resolve all URLs through my network' under 'Local' .


2 Answers

Mukesh here from BrowserStack.

For now, Safari 8 on Yosemite allows Local testing via a limited number of ports. The ports that are most easy to remember are 80,3000, 4000, 5000, 8000 and 8080.

Please note: Public URLs can be tested seamlessly across all ports.

like image 181
Mukesh Tiwari Avatar answered Sep 23 '22 12:09

Mukesh Tiwari


In case you need more ports than the ones mentioned by Mukesh, it seems like the range between 9000 and 9999 is open in Safari (and BrowserStack) for local testing.

like image 39
oybert Avatar answered Sep 21 '22 12:09

oybert