Ir para conteúdo
  • Cadastre-se
  • 0

Nao consigo logar no server(VPS)


Yuri Ferreira

Pergunta

Olá, boa noite/boa tarde/bom dia comunidade, gostaria de uma ajudinha aqui pra futuramente ajudar a comunidade aqui com um tutorial de VPS gratuito, pois bem, não sei se conhecem mas a amazon disponibiliza VPS gratuito, consegui acessar e rodei o server, tudo tranquilo, sem erro no GS e no LS,mesmo editando o l2.ini, com os ips disponibilizados pelo vps,, ou mesmo com o no-ip nao consigo acessar o jogo. Segue as confs:

Rev: L2jmega Acis

Citar

#=============================================================
#                         Loginserver
#=============================================================

# This is transmitted to the clients, so it has to be an IP or resolvable hostname
Hostname = l2forfun.ddns.net
# Bind ip of the LoginServer, use * to bind on all available IPs
LoginserverHostname = *
LoginserverPort = 2106

# The Loginserver host and port.
LoginHostname = 127.0.0.1
LoginPort = 9014

# How many times you can provide an invalid account/pass before the IP gets banned
LoginTryBeforeBan = 3

# Time you won't be able to login back again after LoginTryBeforeBan tries to login. Provide a value in seconds. Default 10min. (600)
LoginBlockAfterBan = 600

# If set to true, any GameServer can register on your login's free slots
AcceptNewGameServer = true

# If false, the licence (after the login) will not be shown. Default : true.
ShowLicence = True

#=============================================================
#                    Database informations
#=============================================================

URL = jdbc:mysql://localhost/l2jdb
#URL = jdbc:hsqldb:hsql://localhost/mega
#URL = jdbc:sqlserver://localhost/database=mega/user=sa/password=

Login = root
Password =

MaximumDbConnections = 10

# Usable values: "true" - "false", use this option to choose whether accounts will be created automatically or not.
AutoCreateAccounts = True
 

Citar

# ================================================================
#                          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 = l2forfun.ddns.net
# 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

# ================================================================
#                        Database informations
# ================================================================

URL = jdbc:mysql://localhost/l2jdb
#URL = jdbc:hsqldb:hsql://localhost/mega
#URL = jdbc:sqlserver://localhost/database=mega/user=sa/password=

Login = root
Password =

# Maximum database connections (minimum 2, basically 10 if number under 10, default 100).
MaximumDbConnections = 99999
 

Ips disponibilizados pelo VPS, ja testei com todos:

Public DNS (IPv4): ec2-18-230-85-117.sa-east-1.compute.amazonaws.com

IPv4 Public IP: 18.230.85.117

Private IPs: 172.31.4.53

OBS: GAME SERVER E LOGIN SERVER NAO APRESENTAM ERROS, POR ISSO NAO PRINTEI.
OBS2: Portas Liberadas no firewall do windows do VPS, Firewall desativado. 

Nao sei onde pode ser o problema :s

Link para o comentário
Compartilhar em outros sites

1 resposta a esta questão

Posts recomendados

  • 0

Seu loginserver está acessível:

O conteúdo está oculto, favor efetuar login ou se cadastrar!
O conteúdo está oculto, favor efetuar login ou se cadastrar!

 

Por enquanto, pode ser descartado problemas de configuração de IPs e regras de firewall no servidor. Como não tenho maiores informações sobre o problema, então:

  • O problema pode estar na configuração do cliente, ( o cliente não consegue se conectar ao servidor)
  • Algum erro pode estar ocorrendo no servidor durante o login
  • O protocolo do cliente não é o mesmo do protocolo do servidor.

Aí são 3 pontos que você precisa verificar. Qual o comportamento do cliente quando você tentar realizar login ?

Link para o comentário
Compartilhar em outros sites


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.

Visitante
Responder esta pergunta...

×   Você colou conteúdo com formatação.   Remover formatação

  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.

Processando...




×
×
  • Criar Novo...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.