wahid2oo9 Posted July 15, 2009 Share Posted July 15, 2009 I have download San Andreas Client and Server package from this site. after i created some settings following the manual on the site. I have accessed my server using the computer i created the server on. and how i did that is.. click quick connect and enter 127.0.0.1:22004 but when i go to my other computer and connect with the ip 127.0.0.1:22004 it wont connect it says "connection timed out" ive tried to enter all the ip's that ive got using "cmd > ipconfig/all" and "whatismyip.com" but it seems like none of them worked only if im using the wrong port number? please help thanks Wahid2oo9 Link to comment
Gamesnert Posted July 15, 2009 Share Posted July 15, 2009 I have accessed my server using the computer i created the server on. and how i did that is.. click quick connect and enter 127.0.0.1:22004but when i go to my other computer and connect with the ip 127.0.0.1:22004 it wont connect it says "connection timed out" I kinda laughed there to be honest. 127.0.0.1 == local PC. This means every computer 127.0.0.1 is used on, connects to itself. Anyway, back on topic: I guess you can connect on the PC it's hosted on? Try to use the IP-adress you get from the "ipconfig /all" command on that PC. If it works, IP and port are correct. If it doesn't, at least IP isn't... Link to comment
wahid2oo9 Posted July 17, 2009 Author Share Posted July 17, 2009 ive already tried all the IP's i got using ipconfig/all.. none of them seemed to work and i even tried using the ip from "whatismyip.com" that one didnt work to. btw i used port :22004? i think the port number is wrong or something? Link to comment
Gamesnert Posted July 17, 2009 Share Posted July 17, 2009 ...Anyway, back on topic: I guess you can connect on the PC it's hosted on? ... If you can connect with 127.0.0.1 and port 22004 on the PC it's hosted on, the port is correct. Otherwise, it isn't. Link to comment
heavy air Posted July 17, 2009 Share Posted July 17, 2009 if your using a router with a firewall enabled u may have to set it up to give mta access just go to http://portforward.com/ and get directions for whatever model router u are using and for the ip address to connect to just look at your local network settings on the pc that is running the server and use that to connect to you might want to turn off the ASE broadcasting ( it lists your server on the MTA server browser ) just go into your MTA install directory \server\mods\deathmatch and open mtaserver config file and look for this <!-- This parameter can be used to make the server report to Game-Monitor master servers, allowing it to be visible in the ingame server browser. An additional UDP port needs to be available for this to work (value from <serverport> + 123 , so on a default <serverport> value 22003 the right port will be 22126 ). Available values: 0 - disabled , 1 - enabled. Optional parameter, defaults to 0. --> <ase>0</ase> it will probably be set to 1 so put it to 0 to turn it off you need to forward two ports as well they are both in mtaserver config as well <!-- This parameter specifies the UDP port on which the server will be accepting incoming player connections; default value: 22003. It is a required parameter. --> <serverport>22003</serverport> <!-- This parameter specifies the TCP port on which the server will be accepting incoming http connections. It can be set to the same value as <serverport>. It is a required parameter if <httpserver> is set to 1. --> <httpport>22005</httpport> hope that helps man Link to comment
wahid2oo9 Posted July 21, 2009 Author Share Posted July 21, 2009 ok still not working. i tried every ip that was in CMD > IPconfig/all and I tried the ip from http://www.whatismyip.org i even tried creating a server on the other computer and connectin in it with this one.. still no hope i think the port number works coz when i create a server and connect usin the port number.. it goes in but when i go to the other computer and connect it says "Connection timed out" Link to comment
wahid2oo9 Posted July 22, 2009 Author Share Posted July 22, 2009 sorry about that. it worked thanks for helping... I followed HeavyAir's post.. how he wrote i had to do portfowarding... it worked. THANK YOU! it didnt work before because what i done is.. everything he told me except ( Port Fowarding ) thank u again everyone. Link to comment
Recommended Posts