Note: I just went around looking for MUD server with NAGS game library and found this: nags-php-mud
. My answer is irrelevant if you are using something else.
The config.php
had the following config:
<?
/*Modify the setting here to set up your game server */
$configarray = array(
'DB_HOST' => 'localhost',
'DB_USERNAME' => 'nags',
'DB_PASSWORD' => 'password',
'DB_DATABASE' => 'nags',
'IP_ADDRESS' => '0.0.0.0',
'SERVER_PORT' => '4000',
'SERVER_NAME' => 'NAGS GAMING SYSTEM',
);?>
So the port number is 4000. Can you try updating the IP Address to 127.0.0.1
then connecting to port 4000 using telnet: telnet 127.0.0.1 4000
Updated
In the above command, you have telnet localhost
and not telnet localhost 4000
.
I tried running it but I am getting some issue. It displays the following and I am unable to trace it:
PHP Notice: Undefined index: quiet in /home/blvdeer/Downloads/nags-php-mud-master/nags.php on line 34
PHP Notice: Undefined index: q in /home/blvdeer/Downloads/nags-php-mud-master/nags.php on line 34
PHP Notice: Undefined index: deamon in /home/blvdeer/Downloads/nags-php-mud-master/nags.php on line 38
PHP Notice: Undefined index: d in /home/blvdeer/Downloads/nags-php-mud-master/nags.php on line 38
PHP Notice: Undefined property: MAIN::$MESSAGE in /home/blvdeer/Downloads/nags-php-mud-master/modules/main.php on line 158
SYSTEM: (LOAD MODULE) MESSAGE
SYSTEM: (LOAD MODULE) CONFIGURE
SYSTEM: (LOAD MODULE) DATABASE
telnetd
daemon normally works just fine out of the box...but it also gives you a normal login. I'm guessing the MUD server itself is what's listening on port 23, so the problem is probably in its configuration. It most likely has nothing to do with what you're doing with thetelnet
client. Alternatively, if you're trying to use your MUD server with native Ubuntutelnetd
, please tell us what configuration you've used to try to facilitate this.telnetd
and didn't change its configuration, it's still curious that you're not able to get a shell when youtelnet
tolocalhost
. Do you still want help with that problem, even though it likely won't get in the way of you running your MUD server?