Quote:
Originally Posted by bart2712
And, a question for anyone who can help...i can connect to server in the client on my computer(same as server), but noone outside can even though im running hamachi and have edited the server.dat for my hamachi ip.
Would my solution be to edit the code again, replacing the one spot where i made the ip as "127.0.01"? or does the person trying to connect thru actually have to be on my hamachi network to connect?
|
Yeah they have to be in ur hamachi network. Otherwise is like connecting from the internet to a mobile network. :) I think this is the simplest way to explain it.
But you don't need hamachi for this. Open the ports if you are behind a router. Or if you are behind a modem, you just put your external IP there, and to the server.dat too.
If you don't know your external IP: you can find it here ->
[Only registered and activated users can see links. Click Here To Register...] <- .
And if you don't know which port's you have to open, here are my open ports (and my server runs perfectly):
9960, 9958, 3306, 80, 5816, 5817, 88, 5432, 8080, 5000, 5016, 21, 3784
8080, 3306, 9958, 9960
9960, 9958, 5816, 5817, 5000, 5016 - these are server IP's. I don't know exactly which is using this server. But most of the servers is using 2-3, or even 4 ports at the same time.
3306 - MySQL port, if you are using Epic Webserver - which I haven't found out how to use.
8080 - Epic Webserver
80 - Apache / Xampp / Wampp / Appserver and etc.
21 - if you are using FTP
and
3784 - if you have ventrilo server
That's all. if you rly have router, you can find out how to set up ports on it, on this page:
[Only registered and activated users can see links. Click Here To Register...]
I hope I helped you. Hit Thanks if I did, please :)