No one can connect to my server... but i seem to be doing everything right

Posted by Milkshakeiii on Mon 12 Apr 2004 01:05 PM — 19 posts, 75,909 views.

#0
Im trying to set up a smaug server, but no one can connect.

That is, no one exept me and computers on my network.

Strangely, however, i can connect using my public IP (64.109.19.231). And yet, when other people try to connect using my IP, they cant.

Ive got my idiot router (a newbie-only-freindly 2wire homeportal) set up to forward EVERYTHING (all ports, obviously including 4000) to this host computer. And yet, no luck.

Can someone be so kind as to help me?
USA #1
It is possible that your ISP has locked out telnet connections initiated from the outside. You may want to look into their security policies and see what their outlook in telnet is, it might be that you need to register the service with them before anyone else can connect to your mud.
Australia Forum Administrator #2
Routers usually need two things changed to allow that - port forwarding, which it sounds like you have done, and disabling firewalling for that port. The default configuration probably does not allow incoming connections.
#3
Ok... ill check into it and get back to you people. THANKS
#4
ok... so i've done a little research and crud and determained that it IS probably my ISP.

Which leads me to ask how can i change the port to 23 in 1.4a on windows?
Australia Forum Administrator #5
It isn't easy on the precompiled binary, however if you have Cygwin just look for the "4000" in the comm.c or wherever it is and change it to 23 (and recompile).
#6
Uh... there is no comm.c file... i did a whole computer search too.

That keeps happening, the help files COMSTANTLY refer to files that i dont have.

Also, im not certain that ameritech/SBC/yahoo (they'ye all the smae now... i think) filters the port... that just seems like the only solution.

#7
Another question (im just full of 'em):

I only have to give people my IP, right... not someother screwy thing?
Australia Forum Administrator #8
Try using PortInfo (a free download from this site), see:

http://www.gammon.com.au/utilities/portinfo.htm

You can configure that to output a message to anyone who connects to any port (eg. 23).

You could set that running and then get a friend to test to see if he got the message.

As for the file comm.c, that is part of the *source* for SMAUG. See this page for more details about that:

http://www.gammon.com.au/smaug/howtocompile.htm

The source can be downloaded from here.
#9
Ok... in the comm.c file should i just search for all instances of 4000 and change it to 23?
#10
Ok... so i do all this... crud. When im doing the compiling, however, i go into Cygwin and type make in the src directory... then it gives this string of some successful compiles, and alot of errors... definately not a good thing. The errors end with something like

Make[1]: *** [smaug] error 1
Make[1]: leaving directory
make: *** [all] error 2

Coincedentally, my smaug is still on port 4000. Hence, no one can connect to it.


Ive got that other little thingy on port 23... im pretty sure it works.
Australia Forum Administrator #11
A lot of errors, eh? Such as?
#12
Mostly Undefines referances to "_RENAME"

And then theres those warnings about brackets... but those dont matter.
Australia Forum Administrator #13
See this post:

http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=1305
#14
I uncommented the lines... but no such luck.

What am i doing wrong? Theres not much to mess up here.
Australia Forum Administrator #15
There was something further down in that post by Cyldor - did you try that?
#16
Yeesh... ill try that and get back to you...
#17
PROBLEM SOVLED!!

lol, i got someone else to host it for me :-p

thanks anyway for all the help, no doubt ive gained something.

oh yeah and...

HAIL NICK GAMMON!

you;ve really made a name for yourself, dude. So many appriciate all the junk you've done!
Australia Forum Administrator #18
Thanks. :)