ionic serve with wifi hotspot to test on mobile
up vote
0
down vote
favorite
I'm trying to test our app in the mobile browser.
- I started a wifi hotspot
- Ran
ionic serve
on our project root - Connected to wifi on mobile device
- On mobile browser went to http://localhost:8100
but I get a page not found. Shouldn't the ionic app load on browse if I connect to the wifi hotspot of the pc running the app server?
ionic-framework ionic2 ionic3 ionic-view
add a comment |
up vote
0
down vote
favorite
I'm trying to test our app in the mobile browser.
- I started a wifi hotspot
- Ran
ionic serve
on our project root - Connected to wifi on mobile device
- On mobile browser went to http://localhost:8100
but I get a page not found. Shouldn't the ionic app load on browse if I connect to the wifi hotspot of the pc running the app server?
ionic-framework ionic2 ionic3 ionic-view
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I'm trying to test our app in the mobile browser.
- I started a wifi hotspot
- Ran
ionic serve
on our project root - Connected to wifi on mobile device
- On mobile browser went to http://localhost:8100
but I get a page not found. Shouldn't the ionic app load on browse if I connect to the wifi hotspot of the pc running the app server?
ionic-framework ionic2 ionic3 ionic-view
I'm trying to test our app in the mobile browser.
- I started a wifi hotspot
- Ran
ionic serve
on our project root - Connected to wifi on mobile device
- On mobile browser went to http://localhost:8100
but I get a page not found. Shouldn't the ionic app load on browse if I connect to the wifi hotspot of the pc running the app server?
ionic-framework ionic2 ionic3 ionic-view
ionic-framework ionic2 ionic3 ionic-view
asked Nov 8 at 10:05
ir2pid
88611334
88611334
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
up vote
1
down vote
accepted
The best way to do it:
- Make Personal Hotspot from your mobile Device to your Computer
- run
ionic serve
- Read the the output this command throws. There you can see an
External IP-Adress
- Open the Browser on your smartphone and use the
Exernal IP-Adress
+ 8100 (Port)
For example: http://192.168.32.12:8100
New contributor
add a comment |
up vote
1
down vote
localhost
is your local address. If you want to access to the ionic app served by your PC from your mobile device browser, you should use the ip address of your PC instead of localhost
, since localhost
is the address of your mobile device.
So just run an ifconfig
(unix) or ipconfig
(windows) on your terminal and access to the app with this address from your mobile device : http://IP_OF_YOUR_PC:8100
This may not work depending on your firewall rules.
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
The best way to do it:
- Make Personal Hotspot from your mobile Device to your Computer
- run
ionic serve
- Read the the output this command throws. There you can see an
External IP-Adress
- Open the Browser on your smartphone and use the
Exernal IP-Adress
+ 8100 (Port)
For example: http://192.168.32.12:8100
New contributor
add a comment |
up vote
1
down vote
accepted
The best way to do it:
- Make Personal Hotspot from your mobile Device to your Computer
- run
ionic serve
- Read the the output this command throws. There you can see an
External IP-Adress
- Open the Browser on your smartphone and use the
Exernal IP-Adress
+ 8100 (Port)
For example: http://192.168.32.12:8100
New contributor
add a comment |
up vote
1
down vote
accepted
up vote
1
down vote
accepted
The best way to do it:
- Make Personal Hotspot from your mobile Device to your Computer
- run
ionic serve
- Read the the output this command throws. There you can see an
External IP-Adress
- Open the Browser on your smartphone and use the
Exernal IP-Adress
+ 8100 (Port)
For example: http://192.168.32.12:8100
New contributor
The best way to do it:
- Make Personal Hotspot from your mobile Device to your Computer
- run
ionic serve
- Read the the output this command throws. There you can see an
External IP-Adress
- Open the Browser on your smartphone and use the
Exernal IP-Adress
+ 8100 (Port)
For example: http://192.168.32.12:8100
New contributor
New contributor
answered Nov 8 at 12:32
Jonathan
261
261
New contributor
New contributor
add a comment |
add a comment |
up vote
1
down vote
localhost
is your local address. If you want to access to the ionic app served by your PC from your mobile device browser, you should use the ip address of your PC instead of localhost
, since localhost
is the address of your mobile device.
So just run an ifconfig
(unix) or ipconfig
(windows) on your terminal and access to the app with this address from your mobile device : http://IP_OF_YOUR_PC:8100
This may not work depending on your firewall rules.
add a comment |
up vote
1
down vote
localhost
is your local address. If you want to access to the ionic app served by your PC from your mobile device browser, you should use the ip address of your PC instead of localhost
, since localhost
is the address of your mobile device.
So just run an ifconfig
(unix) or ipconfig
(windows) on your terminal and access to the app with this address from your mobile device : http://IP_OF_YOUR_PC:8100
This may not work depending on your firewall rules.
add a comment |
up vote
1
down vote
up vote
1
down vote
localhost
is your local address. If you want to access to the ionic app served by your PC from your mobile device browser, you should use the ip address of your PC instead of localhost
, since localhost
is the address of your mobile device.
So just run an ifconfig
(unix) or ipconfig
(windows) on your terminal and access to the app with this address from your mobile device : http://IP_OF_YOUR_PC:8100
This may not work depending on your firewall rules.
localhost
is your local address. If you want to access to the ionic app served by your PC from your mobile device browser, you should use the ip address of your PC instead of localhost
, since localhost
is the address of your mobile device.
So just run an ifconfig
(unix) or ipconfig
(windows) on your terminal and access to the app with this address from your mobile device : http://IP_OF_YOUR_PC:8100
This may not work depending on your firewall rules.
answered Nov 8 at 10:32
saperlipopette
526316
526316
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53205439%2fionic-serve-with-wifi-hotspot-to-test-on-mobile%23new-answer', 'question_page');
}
);
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password