Locahost access


Hi, I want to test my project in mac chrome, how can I access localhost from ionic services on my mac?
I’ve tried ‘localhost:80’, ‘’ but no success.


see ionic serve: http://ionicframework.com/docs/guide/testing.html
it runs a webserver on localhost:8100


Have a look at this:


I need to connect to my database via php file in my localhost. How can i do this?

I tried to put ionic project folder inside htdocs folder, but no success.

With sencha touch it just works.