Jump to content
Sign in to follow this  
JustLove

Открытие Портов

Recommended Posts

Тема будет немного несуразной, потому что она связана с 3g интернетом от megafon.

Вообщем объясни ситуацию:

Уезжаю я в общагу (интернета там нету, инфа 100), хотели настроить сервер с моего ноута. Столкнулся с проблемой портов, тоесть они закрыты...

 

Ошибка в логин сервере (типичная же и в гейм):

Скрытый текст
2f75b80b5000.jpg

 

Может посоветуете что то, проги, советы, все приму во внимание.

Заранее благодарен.

JustLove ©

Share this post


Link to post
Share on other sites

Сообщений: 28

Спасибок: 305

 

Как такое возможно?)

______________________

на счёт тему:

ту не в портах дело...тут что то ті напортачил...возмождно ИП не правильно вітсавил...

а что за сборка хоть?

Share this post


Link to post
Share on other sites

PwSoft

Вот конфиги:

Скрытый текст
# Bind ip of the gameserver
GameserverHostname = 83.149.21.231
GameserverPort = 7777

# This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname
ExternalHostname = 83.149.21.231

# This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname
InternalHostname = 127.0.0.1

# The Loginserver host and port; Внимание! Если у вас несколько серверов, то указывайте тут ВНЕШНИЙ IP
LoginPort = 9014
LoginHost = 127.0.0.1

# This is the server id that the gameserver will request (i.e. 1 is Bartz)
RequestServerID = 1
# If set to true, the login will give an other id to the server  if the requested id is allready reserved
AcceptAlternateID = False

####
### Настройки базы данных
## Соединение
#хост
URL=jdbc:mysql://localhost/pw?useUnicode=true&characterEncoding=UTF-8
# логин
Login = root
# пароль
Password = root
## Тонкая настройка (!!только если на 100% уверены, что делаете!!)
# Min no of connections the pool will (initially) create (per partition)
MinConnectionsPerPartition = 10
# Max no of connections the pool will ever create (per partition).
MaxConnectionsPerPartition = 30
# Sets number of partitions to use.
PartitionCount = 5
# Number of new connections to create in 1 batch whenever we need more connections.
AcquireIncrement = 5
# This sets the time (in minutes), for a connection to remain idle before sending a test query to the DB.
IdleConnectionTestPeriod = 10
# Maximum age of an unused connection before it is closed off. In minutes.
IdleMaxAge = 10
# Number of release-connection helper threads to create per partition.
ReleaseHelperThreads = 5
# After attempting to acquire a connection and failing, wait for this value before attempting to acquire a new connection again.
AcquireRetryDelay = 7000
# After attempting to acquire a connection and failing, try to connect these many times before giving up.
AcquireRetryAttempts = 5
# If set to true, the connection pool will remain empty until the first connection is obtained.
LazyInit = False
# If set to true, stores all activity on this connection to allow for replaying it again automatically if it fails. Makes the pool marginally slower.
TransactionRecoveryEnabled = False
# Queries taking longer than this limit to execute are logged.
QueryExecuteTimeLimit = 0
# Time to wait before a call to getConnection() times out and returns an error.



..........................................
ConnectionTimeout = 0

(GameServer)

 

 

 

Скрытый текст
####
## Основные настройки

# Внешний IP
ExternalHostname = 83.149.21.231

# Внутренний IP
InternalHostname = 127.0.0.1

# IP, на котором будет висеть логин; в локалке ни ставил, лучше указать внешний (ExternalHostname)
LoginserverHostname = 83.149.21.231

# Порт логина
LoginserverPort = 2106

# База данных
Driver=com.mysql.jdbc.Driver
URL=jdbc:mysql://localhost/pw
Login = root
Password = root

# Авторег
AutoCreateAccounts = True

# Аксесс аккаунта для доступа на закрытый серв
GMMinLevel = 100

# IP прослушки геймсерверов
LoginHostname = 127.0.0.1
# Порт прослушки геймсерверов
LoginPort = 9014

####
## Про остальные настройки в этом файле можно забыть

# 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
# It is highly recomended for Account Seciurity to leave this option as defalut (True)
ShowLicence = True

# The delay in minutes after which the login updates the gameservers IP's (usefull when their ip is dynamic)
IpUpdateTime = 15

(LoginServer)

Share this post


Link to post
Share on other sites

Попробуй в интернал ип свой поставить

Share this post


Link to post
Share on other sites

Проверь открыты ли порты (2106, 9014, 7777) ТУТ

 

Какой антивирус?

Edited by sefak

Share this post


Link to post
Share on other sites

# This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname

InternalHostname = 127.0.0.1

 

# The Loginserver host and port; Внимание! Если у вас несколько серверов, то указывайте тут ВНЕШНИЙ IP

LoginPort = 9014

LoginHost = 127.0.0.1

 

 

 

сюда вставь свой айпишник

Edited by ILoVeSeX

Share this post


Link to post
Share on other sites

Sefak: Порты проверил, все закрыты, поэтому я и думаю, что изза этого вся батва... Антивирус Nod32

Share this post


Link to post
Share on other sites

порті не могут быть причиной ругательству ГС...из за портов могут возникнуть проблемы при входе на сервер...

а тут что то другое...

ГС:

(там где звёздачка, возможно даже что и 0.0.0.0 выстаивть надо...

Скрытый текст
# Bind ip of the gameserver

GameserverHostname = *

GameserverPort = 7777

 

# This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname

ExternalHostname = 83.149.21.231

 

# This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname

InternalHostname = 127.0.0.1

 

# The Loginserver host and port; Внимание! Если у вас несколько серверов, то указывайте тут ВНЕШНИЙ IP

LoginPort = 9014

LoginHost = 127.0.0.1

 

ЛС

Скрытый текст
####

## Основные настройки

 

# Внешний IP

ExternalHostname = 83.149.21.231

 

# Внутренний IP

InternalHostname = 127.0.0.1

 

# IP, на котором будет висеть логин; в локалке ни ставил, лучше указать внешний (ExternalHostname)

LoginserverHostname = 83.149.21.231

 

# Порт логина

LoginserverPort = 2106

 

# База данных

Driver=com.mysql.jdbc.Driver

URL=jdbc:mysql://localhost/pw

Login = root

Password = root

 

# Авторег

AutoCreateAccounts = True

 

# Аксесс аккаунта для доступа на закрытый серв

GMMinLevel = 100

 

# IP прослушки геймсерверов

LoginHostname = 127.0.0.1

# Порт прослушки геймсерверов

LoginPort = 9014

хз...наверно не поможет...но что то ты наопртачил в ИПах...

GameserverHostname = *

Тут всегда ставлю звезду

и везде место 127.0.0.1

свой внутринний ип...

Share this post


Link to post
Share on other sites
Sefak: Порты проверил, все закрыты, поэтому я и думаю, что изза этого вся батва... Антивирус Nod32

 

А вы думаете что мегафон будет всем владельцам 3g модемов давать внешний адрес? Вы все сидите через внешнюю проски. Радуйтесь что интернет работает :)

Share this post


Link to post
Share on other sites

В антивирусе поищи исключение для портов, а также в брандмауэре.

Share this post


Link to post
Share on other sites
А вы думаете что мегафон будет всем владельцам 3g модемов давать внешний адрес? Вы все сидите через внешнюю проски. Радуйтесь что интернет работает :)

:)<_< <_< жёсткая правда) <_< <_< <_<

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...