Hosting? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Hosting? (
/showthread.php?tid=393021)
Hosting? -
phil_lendon - 16.11.2012
Got my server.cfg
pawn Код:
echo Executing Server Config...
lanmode 0
rcon_password yomomma
maxplayers 20
port 7777
ip ??.??.???.?? //Actually filled in, just covered for thread.
hostname High Roller [Roleplay] Version .1A
gamemode0 larp 1
filterscripts gun drop mapeditor WeaponSystem
announce 1
plugins streamer.dll
query 1
weburl projectrp.freeforums.org
maxnpc 500
onfoot_rate 30
incar_rate 30
weapon_rate 40
stream_distance 200.0
stream_rate 1000
rcon 0
sleep 1
mapname Los Santos
but it only hosts the server for localhost not to my IP i forwarded 7777 on both my routers :L
Re: Hosting? -
NewerthRoleplay - 16.11.2012
Where did you get the IP variable from? You use bind to bind it on a IP on a network interface however as you are home hosting you do not need to specify the IP at all.
Re: Hosting? -
phil_lendon - 16.11.2012
Well if i remove it from there anyways (yes im home hosting) it still doesnt work?
Re: Hosting? -
NewerthRoleplay - 16.11.2012
Yes as SA-MP automatically binds to your external IP address
Re: Hosting? -
phil_lendon - 16.11.2012
well whats the reason it still doesnt work for my IP then?
Re: Hosting? -
NewerthRoleplay - 16.11.2012
http://www.canyouseeme.org/ Go there and check to see if the port is open, also make sure there are no errors in your log.
Kind Regards
-Connor
Re: Hosting? -
phil_lendon - 16.11.2012
:L Says its not open but i opened it :S
Re: Hosting? -
NewerthRoleplay - 16.11.2012
Try reopening your port, clearly it is not!
Re: Hosting? -
Mauzen - 17.11.2012
Quote:
Originally Posted by NewerthRoleplay
Yes as SA-MP automatically binds to your external IP address
|
It doesnt actually bind to the external ip, but to the default network interface. An interface can have multiple IPs (also multiple interfaces can have same IPs, and it doesnt need to be 1 interface/network adapter), and it actually works for the external and internal ips without any bind.
When using bind, the ip is used to get the assigned network interface.