Jump to content

Recommended Posts

Posted

Hello i make a tutorial how to connect a webiste with status

Online / Offline

PvP / Pk

Castle

and more..

 

The first step.

Open Port in your firewall

 

I give a link how to open port

http://www.mytecbits.com/microsoft/windows/opening-port-in-windows-8-firewall

In port you dont need create all the time new you can use it all in one create like [7777, 2106, 3306, 9014, 80, 1574, 6983, 1257]

 

Make a new user in your server database

In user Name use like [root]

In Host use the Website Host Like [server.host.ovh.com] ATTETION: Dont use IP because is not working.

In password use your database password like [1adf@41%1]

 

iufzYmP.png

 

After create user give Privileges as like this

Select all Cans

 

MMlrHof.png

 

So after finish all create with database in your server go to your Website for create info from your server host

But first send a message to your hoster website open this port [2106,7777,3306] for working the check's

 

    'ip_Host'        =>  'Your IP form your Host Server',
    'Data_user'      =>  'root',
    'Data_pass'       =>  '1adf@41%1',
    'db_name'   =>  'L2MyNameServerDB',

 

that's all. I hope help that tutorial. If you need more help send me a message.

Have a nice day.

  • Upvote 2
Posted (edited)

Well nice try with the guide but i didnt understand some things ... like 

 

 

 

'ip_Host'        =>  'Your IP form your Host Server',

 

Which ip do you mean ? 

 

 

 

 

After create user give Privileges as like this

Select all Cans

 

what do you mean here ? if i press add privelleges it showing me the databases and etc and then i can sellect and add priveleges to each database i should select all privelleges?

Edited by TEOGR_hItMaKeR
Posted (edited)

you can do 100% secure from webhost if you locked cannot read or try to download your website. like HTTrack program..

Edited by tazerman2
Posted (edited)

Yes select them and save and ip host you must add the ip from your host the domain you log into cpanel

again i dont understand so how is going to point to my server ? 

 

 

 

<?php
 
$config["hostname"] = "Here the ip of CPANEL or the ip of my l2 server ?";
$config["username"] = "myuser";
$config["password"] = "mypass";
$config["database"] = "My DB"; 

 

I tried with l2 server ip doesnt load at all then with cpanel ip it saying unable to connecto to the db 

Thanks ...

Edited by TEOGR_hItMaKeR
  • 2 weeks later...
Posted

1. step send message to your hoster = site open 3 port
1) 7777
2) 2106
3) 3306

2. step go to your dedicated or vps and open port in firewall same port

with step 1

3. step follow the first topic if you dont know how to open send me message

i only help not setup.

Posted (edited)

my host told me for custom ports like 7777 and 2106 I have to pay but 3306 is open by default... I opened the ports at my pc and in firewall... but I can't connect to db...

Edited by TEOGR_hItMaKeR

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • L2JMobius C1 System C1 + bonus textures C3 for C1 https://www.mediafire.com/folder/6oh7l7hf34xr9/C1
    • https://prnt.sc/Bkkc0ShGXv9m https://prnt.sc/-JFLvZXsn27A
    • Hello guys want to sell adena in L2 Reborn Signature x1  Stock =14kk good price 
    • Hi guys, I have the following problem, I want to set up two servers on the same dedicated server and I can't.   L2jacis 409 Linux Server. The first gameserver has the following configuration: # ================================================================ # Gameserver setting # ================================================================ # This is transmitted to the clients, so it has to be an IP or resolvable hostname. If this ip is resolvable by Login just leave * Hostname = 190.25.103.103 # Bind ip of the gameserver, use * to bind on all available IPs. GameserverHostname = * GameserverPort = 7777 # The Loginserver host and port. LoginHost = 127.0.0.1 LoginPort = 9014 # This is the server id that the gameserver will request. RequestServerID = 1 # If set to true, the login will give an other id to the server (if the requested id is already reserved). AcceptAlternateID = True UseBlowfishCipher = True # ================================================================ # Database informations # ================================================================ URL = jdbc:mariadb://localhost/server1 Login = server1 Password = server1 I configured the second gameserver like this:   # ================================================================ # Gameserver setting # ================================================================ # This is transmitted to the clients, so it has to be an IP or resolvable hostname. If this ip is resolvable by Login just leave * Hostname = 0.0.0.0 # Bind ip of the gameserver, use * to bind on all available IPs. GameserverHostname = * GameserverPort = 7788 # The Loginserver host and port. LoginHost = 127.0.0.1 LoginPort = 9014 # This is the server id that the gameserver will request. RequestServerID = 2 # If set to true, the login will give an other id to the server (if the requested id is already reserved). AcceptAlternateID = True UseBlowfishCipher = True # ================================================================ # Database informations # ================================================================ URL = jdbc:mariadb://localhost/server2 Login = server2 Password = server2 apart from having tested 0.0.0.0 on the second gameserver I also tried 127.0.0.1 In both cases I see the two servers in the login when I log in, but I try to enter the one with the lowest ping and it kicks me out. The other server always appears with ping 9999 and I try to enter but it doesn't do anything and it freezes the login so I have to log in again. The hexids are in their respective folders. For server 1, it has its hexid inside the gameserver config folder, and I checked that the hexid id is the same id, for example id 1 in the gameserver is also id1 for server 1, and hexid 2 has its hexid 2 for server 2. The server ports are open and listening when I turn on both gameservers. I really don't know what could be wrong. If you could give me some help I would appreciate it. Excuse my English.
  • Topics

×
×
  • Create New...