SA-MP Forums

SA-MP Forums (https://forum.sa-mp.com/index.php)
-   Server Support (https://forum.sa-mp.com/forumdisplay.php?f=19)
-   -   Hosting on my computer (https://forum.sa-mp.com/showthread.php?t=675973)

TheMaddox 26/05/2020 12:26 AM

Hosting on my computer
 
I am trying to host a server from my computer, I portforwarded and everything, and it's not working, I mean, the server is there when I use my IPv4 address, but my buddies can't join, its not working for them. any clues?

Kursed 26/05/2020 12:47 AM

Re: Hosting on my computer
 
Restart your router

TheMaddox 26/05/2020 12:51 AM

Re: Hosting on my computer
 
Quote:

Originally Posted by Kursed (Post 4148050)
Restart your router

I gave them my external ip, and still not working, only my LAN IP works.

Kursed 26/05/2020 12:55 AM

Re: Hosting on my computer
 
try announce 1 in server.cfg

TheMaddox 26/05/2020 01:00 AM

Re: Hosting on my computer
 
Quote:

Originally Posted by Kursed (Post 4148053)
try announce 1 in server.cfg

It's already togged, idk ;^; :confused:

Kursed 26/05/2020 01:05 AM

Re: Hosting on my computer
 
you need to portforward separate udp and tcp

TheMaddox 26/05/2020 01:08 AM

Re: Hosting on my computer
 
Quote:

Originally Posted by Kursed (Post 4148056)
you need to portforward separate udp and tcp

I already did that, see if I am wrong

https://i.imgur.com/nw9Zd66.png

Kursed 26/05/2020 02:33 AM

Re: Hosting on my computer
 
portforward UDP first then TCP is what I meant. it should work

TheMaddox 26/05/2020 02:35 AM

Re: Hosting on my computer
 
Quote:

Originally Posted by Kursed (Post 4148056)
you need to portforward separate udp and tcp

Quote:

Originally Posted by Kursed (Post 4148066)
portforward UDP first then TCP is what I meant. it should work

Still not working, I guess I am doing something wrong :(

Kursed 26/05/2020 03:00 AM

Re: Hosting on my computer
 
Try lan address 127.0.0.1

TheMaddox 26/05/2020 06:14 AM

Re: Hosting on my computer
 
Quote:

Originally Posted by Kursed (Post 4148071)
Try lan address 127.0.0.1

It works from my side, but the external IP doesn't work for my friends nor does it from me!!

NetmaxHosting 02/07/2020 03:30 PM

Re: Hosting on my computer
 
You opened the port/s via Windows Firewall?

YouShootIDodge 02/07/2020 04:05 PM

Re: Hosting on my computer
 
Similar problem, stuck with a sh*t ISP.

DRIFT_HUNTER 02/07/2020 04:51 PM

Re: Hosting on my computer
 
Check if LAN IP (192.168.8.100) belongs to your machine. By the way that IP is very strange, that 8 is very confusing...

BoOob 03/07/2020 03:26 PM

Re: Hosting on my computer
 
Make sure your windows firewall allow port on your pc, beside your router firewall to allow ports to join at your server and make sure you portforward the right lan ip(192.168.8.100) to check it goes to your PC not another host on the same network.

perfectboy 03/07/2020 06:58 PM

Re: Hosting on my computer
 
Also, it's not always the issue. Sometimes it's an issue from the ISPs side, not yours. If you think you have configured everything correctly still it doesn't work. Contact your ISP about a static IP and port forwarding. Often residential connections have NAT and also tend to disallow incoming connections.

So things to consider before you decide on using your home pc as a server.

1. Does your connection have a static IP.( Well there are workaround for this: Services like DYN DNS)
2. Does your ISP allow incoming connections? ( If it does not allow u cannot do anything but contact your ISP, this could be due to various reasons like I mentioned above NAT or Carrier-grade NAT, So best case contact your ISP )

perfectboy 03/07/2020 07:02 PM

Re: Hosting on my computer
 
If you don't have cash to spare for a server . I would recommend checking out G00Gle Cloud and Amazon Web services . Both give 1 year of free trial and is enough for you to run samp servers for testing.

Inspiron 03/07/2020 10:07 PM

Re: Hosting on my computer
 
Make sure you're putting the same ip address in your port forward settings as your computer gives you. Open command prompt and type ipconfig. It will show you some ip addresses. Put the ipv4 address in your router settings and then try again. If it still doesn't show online via your external ip, then your isp isn't allowing you to host it. I'm using two different isps in my home, server worked fine on one of them, but on the other one, server didn't show online.

TomHarper 12/08/2020 07:41 AM

Re: Hosting on my computer
 
Quote:

Originally Posted by TheMaddox (Post 4148046)
I am trying to host a server from my computer, I portforwarded and everything, and it's not working, I mean, the server is there when I use my IPv4 address, but my buddies can't join, its not working for them. any clues?

First off you need to make sure your public IP is not behind a NAT.

Can you ping your public IP from the internet? If yes, can you turn off the Windows firewall and try to access your SAMP server?

I'd say it's most like because of a NAT or a double NAT. You gotta ping your ISP either case.

AmirSavand 14/08/2020 02:11 PM

Re: Hosting on my computer
 
Use Hamachi

Kwarde 18/08/2020 09:38 PM

Re: Hosting on my computer
 
Just here to point out some bad (and also terrible) advice given in this thread, in case people still read this when they have issues.

Quote:

Try lan address 127.0.0.1
That will never ever work. 127.0.0.1 is used as an intern address (also known as localhost). When portforwarding 127.0.0.1 (which usually is not even possible as the router usually [if not always] already specified the range of local IPs) the router would have literally no idea what IP should be used to forward the connections to.

Quote:

you need to portforward separate udp and tcp
Nope. SAMP => UDP

ShiffeyTheGamer 02/09/2020 01:41 PM

Re: Hosting on my computer
 
Open your router setting where you port forward and then start your samp server with that page in the background.

ShiffeyTheGamer 02/09/2020 01:47 PM

Re: Hosting on my computer
 
If that does not do the trick make sure windows fire wall is off if you are using windows

jasperschellekens 03/09/2020 06:03 AM

Re: Hosting on my computer
 
Quote:

Originally Posted by ShiffeyTheGamer (Post 4160507)
If that does not do the trick make sure windows fire wall is off if you are using windows

Terrible advice. Allow sa-mp through firewall, don't just disable it lol

Kwarde 03/09/2020 01:44 PM

Re: Hosting on my computer
 
^This topic should be called the "Terrible advices topic" by now.

FirstClass 03/09/2020 04:35 PM

Re: Hosting on my computer
 
Did you port forward on your router admin panel?

Mobtiesgangsa 03/09/2020 08:34 PM

Re: Hosting on my computer
 
Quote:

Originally Posted by TheMaddox (Post 4148046)
I am trying to host a server from my computer, I portforwarded and everything, and it's not working, I mean, the server is there when I use my IPv4 address, but my buddies can't join, its not working for them. any clues?

a suggestion, have you tried sa-mp (dot) me for a server?

rt-2 04/09/2020 02:07 PM

Re: Hosting on my computer
 
Quote:

Originally Posted by Kursed (Post 4148071)
Try lan address 127.0.0.1

That's a 'loopback' address, not a LAN address

SATALON 19/09/2020 08:47 AM

Re: Hosting on my computer
 
Hello!
Need help, how to portforward server for free and what is that?
Send me on DM, or contact me on discord SATALON#9176

rt-2 20/09/2020 02:12 PM

Re: Hosting on my computer
 
Quote:

Originally Posted by SATALON (Post 4161823)
Hello!
Need help, how to portforward server for free and what is that?
Send me on DM, or contact me on discord SATALON#9176

When it comes to port forwarding, there is no difference between SAMP and any other services.

Just ****** 'How to forward ports'. Im pretty sure there must be a million tutorial on how to setup a Minecraft one, maybe use that and apply it to SAMP.


All times are GMT. The time now is 02:51 PM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.