android - Why my access from my mobile to my computer network doesn't work? -
i have problem , that, yesterday, access mobile phone computer network today doesn't work. why be?
what have ready:
- i have running local server xampp (i have started
apache
,mysql
). - i'm connect via wifi same network.
- my mobile phone it's connect computer via usb.
- i went
cmd
, copyip
of computer , put on browser of mobile phone, doesn't work. - i tried url
10.0.2.2
doesn't work.
why be? yesterday worked putting url in mobile phone browser , today doesn't work. didn't make change yesterday. had forgot something? how can check it's working correct?
note: saw lot of questions makes same question couldn't solve problem them.
thanks in advance!
edit: saw problem in log console. log it's here:
06-04 16:49:21.527 17600-17600/com.example.user.project v/phonewindow﹕ decorview setvisiblity: visibility = 0 ,parent =viewroot{420a1478 com.example.user.project/com.example.user.project.mainactivity,ident = 0}, =com.android.internal.policy.impl.phonewindow$decorview{4205a608 v.e..... r.....id 0,0-0,0} 06-04 16:49:21.527 17600-17600/com.example.user.project d/activitythread﹕ act-launch_activity handled : 0 / activityrecord{4204b3c0 token=android.os.binderproxy@4204aa68 {com.example.user.project/com.example.user.project.mainactivity}} 06-04 16:49:21.590 17600-17600/com.example.user.project e/﹕ appname=com.example.user.project, acappname=/system/bin/surfaceflinger 06-04 16:49:21.590 17600-17600/com.example.user.project e/﹕ 0 06-04 16:49:21.590 17600-17600/com.example.user.project e/﹕ appname=com.example.user.project, acappname=/system/bin/surfaceflinger 06-04 16:49:21.590 17600-17600/com.example.user.project e/﹕ 0 06-04 16:49:21.592 17600-17600/com.example.user.project d/graphicbuffer﹕ create handle(0x614af178) (w:480, h:800, f:1) 06-04 16:49:21.593 17600-17600/com.example.user.project i/maliegl﹕ [mali]window_type=1, is_framebuffer=0, errnum = 0
this solution found make works when trouble happens. not technical (or don't think so) works me , it's following:
- i connect mobile device computer via usb.
- i run server (in case xampp).
- i'm connect via wifi same network mobile device computer.
- i went
cmd
, copyip
of computer , put on browser of mobile phone, doesn't work.
if steps put above doesn't work. so, have solve problem?
when have configurated steps put above , error ocurrs, have disable wifi mobile device. when enable again works perfectly!
i don't have idea why happens, , know it's not technical answer mark accept because think can people.
if of have solution problem or if know why correct solution please let me know.
Comments
Post a Comment