Skip to forum content

You are not logged in. Please login or register.


forums.pvpgn.pro → [EN] Diablo → unable to connect to the realm server

Pages 1

You must login or register to post a reply

RSS topic feed

Posts: 5

1

Topic: unable to connect to the realm server

Hello, this is my first try to install a Diablo2 server so be patient smile

I'm running everything on a VPS with Windows Server 2012 R2, which has it's own public IP address.
So far i've followed the guides in the header of the homepage. I set the public IP in all the files mentioned. I'm using MySQL 5.7 storage.

I saw people talking about copying files from the original CD, but my "D2GS" folder already contains *.mpq files which it downloaded during build (also the guides didn't mention copying from CD), so I didn't do this (tell me if right or wrong smile ).

I'm trying to connect from my home computer, after setting up the client gateway. In game I select my custom realm and I'm able to login to Battle.net with an account i created through the "phputils/webregister" utility.
In the next screen i see a "Connetting..." text for ~30 seconds and then an error message appears:

"Unable to connect to the realm server [...] check port 6112".

I did open ports on Windows Firewall (both server and client).
I tested with nmap on my home computer, and I can see ports 4000 and 6112 are open (It even detects it's running PvPGN and Diablo2 Game Server).
I did telnet into D2GS (localhost port 8888) to set "maxgame 100" and "maxusers 10" with no success.

Attached you can find all my log files (IP is redacted).
In bnetd.log, notice the line:

Jun 10 13:32:26 [info ] pvpgn::bnetd::_client_loginreq2: [1012] "le0m" logged in (correct password)

which is my only accomplishment so far smile

Can anyone help me, please?

2 (edited by Karol 11.06.2018 00:22)

Re: unable to connect to the realm server

there are two possibility

1. Something wrong with firewall, you need to open 4 ports:
6112 - bnetd
6113 - d2cs
6114 - d2dbs
4000 - D2GS

2. d2cs is incorrect set up, because realm is unavailable

3

Re: unable to connect to the realm server

Send the configuration files.

4

Re: unable to connect to the realm server

Karol wrote:

there are two possibility

1. Something wrong with firewall, you need to open 4 ports:
6112 - bnetd
6113 - d2cs
6114 - d2dbs
4000 - D2GS

2. d2cs is incorrect set up, because realm is unavailable

The ports were the problem, I opened 6113 and 6114 and now everything is working! Thank you!

Just asking to understand better: why is that I need to open 6113-6114 too?
Since everything is running on the same VPS, should't D2DBS and D2CS connect without going through the internet?
In the config file there's a warning against setting "gameservlist" to "127.0.0.1" or "localhost", but why is that since this services are used locally and players do not connect directly to these?

5

Re: unable to connect to the realm server

I dont know why, here https://pvpgn.pro/d2gs_installation.html is said that d2cs/d2dbs can run within internal network, but it doesnt work correctly

Posts: 5

Pages 1

You must login or register to post a reply

Who now at forum

Currently view post: 1 guest, 0 registered users

forums.pvpgn.pro → [EN] Diablo → unable to connect to the realm server