Bonjour
Nous avons un petit soucis lors de la connection au serveur via l’extérieur
Le launcher se lance la personne distante tape ses identifiants et fait connecter puis .... :
Ce-ci indéfiniment ... Lorsque je lance mon launcher sur le machine ou est héberger ce serveur test pas de soucis (ip: 127.0.0.1).
Voici une partie du fichier ipconfig.xml :
Dans tout les codes les [...] sont des partie supprimer a cause de l'interdiction de poster des liens externes pour les nouveau ...
- Code:
-
<!-- Externalhost here (Internet IP) or Localhost IP for local test -->
<gameserver address="90.xx.xx.xxx" [...]>
<!-- Localhost here -->
<define subnet="127.0.0.0/8" address="127.0.0.1" />
<!-- Internalhosts here (LANs IPs) -->
<define subnet="10.0.0.0/8" address="10.0.0.0" />
<define subnet="172.16.0.0/19" address="172.16.0.0" />
<define subnet="192.168.1.0/16" address="192.168.1.xx" />
</gameserver>
Mon fichier host :
- Code:
-
127.0.0.1 localhost
90.xx.xx.xxx l2authd[...]
90.xx.xx.xx l2testauthd[...]
J'attend déja les réponses me disant que mes ports ne sont pas ouverts :
Dans équipement est bien spécifier l'ip interne correspondant a la machine ou se trouve le serveur.
Quelques lignes de code en plus si cela peut aider :
loginserver.properties :
- Code:
-
# ---------------------------------------------------------------------------
# Login Server Settings
# ---------------------------------------------------------------------------
# This is the server configuration file. Here you can set up the connection information for your server.
# This was written with the assumption that you are behind a router.
# Dumbed Down Definitions...
# LAN (LOCAL area network) - typically consists of computers connected to the same router as you.
# WAN (WIDE area network) - typically consists of computers OUTSIDE of your router (ie. the internet).
# x.x.x.x - Format of an IP address. Do not include the x'es into settings. Must be real numbers.
# ---------------------------------------------------------------------------
# Networking
# ---------------------------------------------------------------------------
# Bind ip of the LoginServer, use * to bind on all available IPs
# WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u>
# WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig[...]" file.</font></b></u>
# Default: * (0.0.0.0)
LoginserverHostname = *
# Default: 2106
LoginserverPort = 2106
# The address on which login will listen for GameServers, use * to bind on all available IPs
# WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u>
# WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig[...]" file.</font></b></u>
# Default: * (0.0.0.0)
LoginHostname = *
# The port on which login will listen for GameServers
# Default: 9014
LoginPort = 9014
# ---------------------------------------------------------------------------
# Security
# ---------------------------------------------------------------------------
# Default: True
LogLoginController = True
# How many times you can provide an invalid account/pass before the IP gets banned.
# Default: 5
LoginTryBeforeBan = 6
# Time you won't be able to login back again after LoginTryBeforeBan tries to login.
# Default: 900 (15 minutes)
LoginBlockAfterBan = 900
# If set to True any GameServer can register on your login's free slots
# Default: False
AcceptNewGameServer = False
# Flood Protection. All values are in MILISECONDS.
# Default: True
EnableFloodProtection = True
# Default: 15
FastConnectionLimit = 15
# Default: 700
NormalConnectionTime = 700
# Default: 350
FastConnectionTime = 350
# Default: 50
MaxConnectionPerIP = 50
# ---------------------------------------------------------------------------
# Database
# ---------------------------------------------------------------------------
# Specify the appropriate driver and url for the database you're using.
# Examples:
[...]
# Database user info (default is "root" but it's not recommended)
Login = root
# Database connection password
Password =
# Default: 10
MaximumDbConnections = 100
# Default: 0
MaximumDbIdleTime = 0
# ---------------------------------------------------------------------------
# Misc.
# ---------------------------------------------------------------------------
# If False, the license (after the login) will not be shown.
# Default: True
ShowLicence = True
# Default: True
AutoCreateAccounts = True
# ---------------------------------------------------------------------------
# Developer Settings
# ---------------------------------------------------------------------------
# Default: False
Debug = False
# ---------------------------------------------------------------------------
# Restart LS every 24 hours?
# ---------------------------------------------------------------------------
# Default: False, 24
LoginRestartSchedule = False
LoginRestartTime = 24
D'avance merci