Changing from Localhost to...
Something that my friend can log in to?
I would like to make it so that my friend can log onto my server. How would this be possible. I have mysql and all of that crap but I don't know how to make it so that he can use an IP in his realmlist to get onto my server. (Obviously Localhost wont work)
Thanks! (sorry if i posted this in the wrong forum, feel free to move it. :])
Re: Changing from Localhost to...
You need to use hamachi, No-ip or another provider, or have a static IP and, on a router, forward the needed ports, etc. and give your external IP. I'll explain Hamachi.
1. Go to https://secure.logmein.com/products/hamachi/list.asp and download Hamachi for your OS and Install.
YOUR FRIEND HAS TO GET HAMACHI AS WELL.
2. Go through the setup as you want, use non-commercial license.
3.When you're done, open it and you can exit out of the tutorial.
4.Click the power button on the bottom left and create an account nickname, then click the button SECOND from the right and "Create a new network". Create a name and password.
5. Your friend needs to click that same button (second from the right) and click "Join an existing network", and type in the name of your network.
6. You should now see your friend in your network and your friend can use your hamachi IP in his realmlist.wtf file.
Hope that helped :D If there are any further questions, please ask.
Re: Changing from Localhost to...
Which IP's and ports do i put at which section of the coding?
I'm using trinity, the repack that was posted on the forum. I know repacks suck but I just want to get an initial server going so me and a friend can test some stuff.
So basically, i just what to know (very specifically) which IP's go into which spots. (in trinitycore, trinityrealm, hosts, etc.)
thanks! :)
EDIT: I also use a no-ip. I also have another address from Dyndns.
I can also use hamachi. Any apply. So if you could specify to those also. :)
Re: Changing from Localhost to...
What I did when I had a server, since i was using my localhost ip and my external for others, is I made two realms...leading to the SAME port..one localhost and one external. These realms were actually the same "realm" just 2 ways of accessing it. One was for me, the other for everyone else. We could still see each other. Everything else should be localhost if i'm not mistaken.
Re: Changing from Localhost to...
The problem is, i don't know which port to use. Can i use the same one as you, or do i need to use a complete different one. Also, which IP do i put in which section. in other words, i don't know where to put which ip.
could you specify each IP and the places you put it?
Thanks
Re: Changing from Localhost to...
Quote:
Originally Posted by
kankles
Which IP's and ports do i put at which section of the coding?
I'm using trinity, the repack that was posted on the forum. I know repacks suck but I just want to get an initial server going so me and a friend can test some stuff.
So basically, i just what to know (very specifically) which IP's go into which spots. (in trinitycore, trinityrealm, hosts, etc.)
thanks! :)
EDIT: I also use a no-ip. I also have another address from Dyndns.
I can also use hamachi. Any apply. So if you could specify to those also. :)
I'm also using Trinity and I'm trying to get sharing working, I'll post here if I work it out.
Re: Changing from Localhost to...
Worked it out. Open up TrinityCore.conf and find:
BindIP = "0.0.0.0"
change that IP to your Hamachi IP. Then open up the realmd database -> realmlist table and change the IP in the "address" section to your hamachi one. It'll now work :)
Re: Changing from Localhost to...
Excellent, I'll try out that solution and post back again if it works out. :)
Re: Changing from Localhost to...
its seems as if the solution is still not working.
If you could, would it be possible for you to list ALL of the places that you used an IP, and which IP you put in them.
Also, I believe that using a hamachi is the same as using any other alternate URL, such as no-ip and dyndns.
So it doesnt matter which one you explain it in. :)
Thank you!
EDIT: I also wanted to add that now it is telling me that my login server is down. And I am running everything in the right order and everything seems to be in the right order so.. I really have no clue what is going on. :x
EDIT2: Alright now I've gotten to the point where it sits at Authenticating... And I'm not sure if it's now something to do with the Realm or with the Core .conf file. ALSO, i got this error:
WorldSocket::handle_input_header: client sent malformed packet size = 8 , cmd =
1867972645
Re: Changing from Localhost to...
Another thing i wanted to sa is that i am pretty sure it is my ports which are causing the problem.
So if anyone can help me wit hthat.
i've forwarded them properly but it is like i havnt at all. BUT i know i have odne it properly.
thanks
Re: Changing from Localhost to...
Quote:
Originally Posted by
kankles
its seems as if the solution is still not working.
If you could, would it be possible for you to list ALL of the places that you used an IP, and which IP you put in them.
That was really all I changed, but here you go.
In TrinityRealm:
LoginDatabaseInfo = "127.0.0.1;3306;root;CENSORED;realmd"
BindIP = "0.0.0.0" (Not changed, didn't notice it until now)
In TrinityCore:
LoginDatabaseInfo = "127.0.0.1;3306;root;CENSORED;realmd"
WorldDatabaseInfo = "127.0.0.1;3306;root;CENSORED;world"
CharacterDatabaseInfo = "127.0.0.1;3306;root;CENSORED;characters"
BindIP = "5.167.201.45" (Changed)
In Connection -> Realmd -> realmlist
address = 5.167.201.45
Did you set up hamachi just like kolodude said?
If it's stuck at authenticating there's a connection problem, check the ports are allowed on any firewalls you have installed and make sure they're forwarded to the same port going in and out (so 3724 -> 3724 et cetera).
Re: Changing from Localhost to...
I've scanned through my firewalls. I even disabled them all for a minute.. I just don't understand what could be in the way of my connection.
I have allowed these ports:
3724
8085
When i use a program to check and see if my ports are really forwarded, the program says that they aren't. This leads me to believe that something is running which isn't allowing the ports to be completely opened.
I seriously can't think of what it could be..
The error i seem to get when it appears i've done everything right now is:
Failed to open acceptor ,check if the port is free
Failed to start network
Halting process...
X
And then it exits the cmd screen. (for the purpose of getting the error, i executed trinitycore.exe followed by /pause)
So if anyone knows what this error is, that would be of great help.
Thanks!