Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49186

Connection to server was unsuccessful

$
0
0

@shyamal890 wrote:

When I try to run ionic app in emulator or device. I get the following error:

The connection to server was unsuccessful (http://192.168.0.8:8100)

However, it works alright in browser through ionic serve.

I hope it is not due to Content Security Tag or Cordova Whitelist plugin settings which are as follows:

<meta http-equiv="Content-Security-Policy" content="default-src *; style-src 'self' 'unsafe-inline'; script-src * 'unsafe-inline' 'unsafe-eval'">

  <allow-navigation href="http://*/*"/>
  <access origin="*"/>

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49186

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>