SA-MP Forums Archive
Playing via wifi? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Client Support (https://sampforum.blast.hk/forumdisplay.php?fid=16)
+--- Thread: Playing via wifi? (/showthread.php?tid=111980)



Playing via wifi? - Kurence - 05.12.2009

We have got 2 notebooks with wifi i have made 1 ad hoc site (between 2 computers) and my friend have connected it, then i made server and he started samp and added 127.0.0.1 (localhost) to favorites but it was retrieving info... what i have to do to make it working?


Re: Playing via wifi? - (Jeff) - 05.12.2009

Quote:
Originally Posted by Kurence
We have got 2 notebooks with wifi i have made 1 ad hoc site (between 2 computers) and my friend have connected it, then i made server and he started samp and added 127.0.0.1 (localhost) to favorites but it was retrieving info... what i have to do to make it working?
no 127.0.0.1 is only for your PC, open Run then type cmd, when cmd opens type ipconfig.Then you will see your IP, give that to your friend.


Re: Playing via wifi? - Kurence - 05.12.2009

Ah thanks


Re: Playing via wifi? - Mark_Weston - 29.11.2011

Quote:
Originally Posted by (Jeff)
Посмотреть сообщение
no 127.0.0.1 is only for your PC, open Run then type cmd, when cmd opens type ipconfig.Then you will see your IP, give that to your friend.
That alaso localhost. -_-

whatsmyip.org


Re: Playing via wifi? - [Diablo] - 29.11.2011

Quote:
Originally Posted by Mark_Weston
Посмотреть сообщение
That alaso localhost. -_-

whatsmyip.org
no it's not. 127.0.0.1 a.k.a localhost a.k.a ::1 are all loopback addresses (meaning they point to itself - this computer).. running the ipconfig in cmd will give you your local address (very often it is a 192.168.x.x), which is accessible from all devices in the same network.

the 'outiside' address or WAN address is a public IP, usually given by your ISP, and it represents your computer on the world wide web.

there is no need to add a public IP on local network (yes, wifi is also local network).

ontopic:

you should get your local ip by running start -> cmd -> ipconfig, and tell this ip to your friend.