Jump to content
biskut merry

Macam Mana Nak Access Localhost Via Android

Recommended Posts

salam,

 

Saya nak tanya macam mana nak access localhost (wamp server, windows 7) kat android phone. Phone dengan pc guna network yang sama (pc LAN, phone WIFI). Boleh ke nak access guna android? Ada sape2 pernah try wat?

 

thanks

Share this post


Link to post
Share on other sites

Wsalam..

 

Ddisablekan data plan.

Try ping pc tu dr android tgk dpt ke x. Kalo ok, boleh guna ip address atau hostname.

Share this post


Link to post
Share on other sites

wslm,

 

localhost tu nama timangan bagi pc itu sendiri.

 

Kalau ada dua PC dan kedua2nya jalan wamp server,

bila buka localhost pada PC A, localhost merujuk pada PC A, dan

bila buka localhost pada PC B, localhost merujuk pada PC B...

 

Kalau dari PC B nak buka web dari PC A, dapatkan IP address PC A.

Cara dapatkan IP Komputer

 

Kat android, taip http://ipcomputer/ contoh http://192.168.1.2/

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...