\"TCP/IP is not active on your system\"

For system help, all hardware / software topics NOTE: use Coders Corner for all coders topics.

Moderators: Krom, Grendel

Post Reply
User avatar
Testiculese
DBB Material Defender
DBB Material Defender
Posts: 4689
Joined: Sun Nov 11, 2001 3:01 am

\"TCP/IP is not active on your system\"

Post by Testiculese »

Why would I suddenly get this in D3 when connecting to a game? Any server. I get into D3, choose a pilot, and then this message, and dumps me to the main menu.

Only thing I did to the machine is install .NET on it. I don't recall if I saw this error before or after the install, though.

Network is fine for everything else.
User avatar
Krom
DBB Database Master
DBB Database Master
Posts: 16138
Joined: Sun Nov 29, 1998 3:01 am
Location: Camping the energy center. BTW, did you know you can have up to 100 characters in this location box?
Contact:

Post by Krom »

Try the -useip command line option (or if it is already in your command line try removing it).
User avatar
Testiculese
DBB Material Defender
DBB Material Defender
Posts: 4689
Joined: Sun Nov 11, 2001 3:01 am

Post by Testiculese »

No go.

I checked the registry and the default connection was set to HEAT..know what, I forgot, I installed d3 fresh so I could get the single player mission set back on the disk...

I launched d3 manually and clicked on Multiplayer, then chose TCPIP, and set as default connection, then OK, and I got the same error message. I exited and checked the registry, the correct value is now there, so I went back in and tried again, same error.

I looked in the Descent3\\online folder, and teh TCPIPfile is named Direct TCP~IP.d3c, is this correct? I don't recall. It's the only one listed, as I was tired of clicking the wrong one and ending up waiting for a timeout, so I deleted the others.
User avatar
BUBBALOU
DBB Benefactor
DBB Benefactor
Posts: 4198
Joined: Tue Aug 24, 1999 2:01 am
Location: Dallas Texas USA
Contact:

Post by BUBBALOU »

Launching through Vortex, if Server Proxy is enabled and you have -useport 2092 it will do just that!

I seem to have a better workout dodging your stupidity than attempting to grasp the weight of your intelligence.
Munk
DBB Ace
DBB Ace
Posts: 82
Joined: Tue Jan 28, 2003 3:01 am
Location: Germany

Post by Munk »

This message is shown when descent fails to initialize the UDP listening socket for port 2092.

The most obvious problem is, that some other application is still listening to that port.

run \"netstat -a\" on a console, and look for \"UDP LISTENING\" ports.
User avatar
Testiculese
DBB Material Defender
DBB Material Defender
Posts: 4689
Joined: Sun Nov 11, 2001 3:01 am

Post by Testiculese »

Bubba, you mean in Vortex's Settings -> Proxy? That's not checked, and I don't have the useport parameter.

Munk, netstat shows nothing for tcp on 2092, and for udp, it displays UDP metalliclient:2092 *:*
Munk
DBB Ace
DBB Ace
Posts: 82
Joined: Tue Jan 28, 2003 3:01 am
Location: Germany

Post by Munk »

UDP is the relevant part here.

So now you have to figure out which application is blocking this port.
I know that TinyFirewall can show which application uses which port for listening, maybe there is some tool out there.
User avatar
DCrazy
DBB Alumni
DBB Alumni
Posts: 8826
Joined: Wed Mar 15, 2000 3:01 am
Location: Seattle

Post by DCrazy »

Use netstat -oa to figure out what app has already bound itself to UDP 2092. It'll give you a PID which you can look up in Task Manager.
User avatar
Grendel
3d Pro Master
3d Pro Master
Posts: 4390
Joined: Mon Oct 28, 2002 3:01 am
Location: Corvallis OR, USA

Post by Grendel »

TCPView may come handy.
ImageImage
User avatar
Testiculese
DBB Material Defender
DBB Material Defender
Posts: 4689
Joined: Sun Nov 11, 2001 3:01 am

Post by Testiculese »

The -oa did it...svchost was taking it, dunno what that was.

Thanks!
Spooky
DBB Ace
DBB Ace
Posts: 251
Joined: Tue Apr 25, 2006 2:27 pm

Post by Spooky »

User avatar
Testiculese
DBB Material Defender
DBB Material Defender
Posts: 4689
Joined: Sun Nov 11, 2001 3:01 am

Post by Testiculese »

I know what it is, I just don't know what it was hosting.

Something new.. \"Tasklist /SVC\" will give you the PID and program names. Very cool.
User avatar
Krom
DBB Database Master
DBB Database Master
Posts: 16138
Joined: Sun Nov 29, 1998 3:01 am
Location: Camping the energy center. BTW, did you know you can have up to 100 characters in this location box?
Contact:

Post by Krom »

Yeah, 'Tasklist /svc' is handy, but there is something else that is even more handy to use with it.

'tasklist /svc > tasklist.txt' > 'notepad tasklist.txt'

No more scrolling in command prompt windows. :D

Any command you enter into command prompt you can get the output to write to a file on the disk. Simply put ' > filename.txt' on the end of the command. For instance if you want to list all the hidden files in a directory and subdirectories, sorted by name then date then size grouping directories first, type 'dir /a:h /s /o:gnds > dirlist.txt' then when it is done, open that text document in notepad.
User avatar
Foil
DBB Material Defender
DBB Material Defender
Posts: 4900
Joined: Tue Nov 23, 2004 3:31 pm
Location: Denver, Colorado, USA
Contact:

Post by Foil »

Interesting, I don't know why svchost would be watching that port.

I typically get that error when I launch D3 to join a game, and forget that I'm already running a D3 dedi server on that machine (which I often do when I'm not playing/working on it). :P
User avatar
Grendel
3d Pro Master
3d Pro Master
Posts: 4390
Joined: Mon Oct 28, 2002 3:01 am
Location: Corvallis OR, USA

Post by Grendel »

That's why you should not use 2092 for a dedi server. ;) I use 2093+ for dedicated servers.
ImageImage
User avatar
BUBBALOU
DBB Benefactor
DBB Benefactor
Posts: 4198
Joined: Tue Aug 24, 1999 2:01 am
Location: Dallas Texas USA
Contact:

Re:

Post by BUBBALOU »

Grendel wrote:That's why you should not use 2092 for a dedi server. ;) I use 2093+ for dedicated servers.

ZACTLY@@@@ 2092 should be used for your gaming machine

I seem to have a better workout dodging your stupidity than attempting to grasp the weight of your intelligence.
User avatar
Foil
DBB Material Defender
DBB Material Defender
Posts: 4900
Joined: Tue Nov 23, 2004 3:31 pm
Location: Denver, Colorado, USA
Contact:

Post by Foil »

Ah, but I host a server on my gaming rig, when I'm not actively using it.

However, you're right, I could just as easily set the server to use port 2093 and avoid the conflict.
User avatar
DCrazy
DBB Alumni
DBB Alumni
Posts: 8826
Joined: Wed Mar 15, 2000 3:01 am
Location: Seattle

Re:

Post by DCrazy »

Krom wrote:Any command you enter into command prompt you can get the output to write to a file on the disk. Simply put ' > filename.txt'
Or you can use the pipe, and pipe the ouput to more. I wish Windows had an equivalent of less, which lets you scroll arbitrarily backwards and forwards, but anyway:

Code: Select all

dir /a:h /s /o:gnds |more
Will pipe the output to more without chewing up a file. Windows takes a few cues from the Unix world here.

If you have the .NET Framework 2.0 installed, you can get the Monad shell (or whatever they renamed it when it came out of beta). It's written in C# and is about as powerful as bash or tcsh on Unix, as you can write shell scripts in C# (called "cmdlets") and use them like uber-powerful batch files, without compiling them.
Post Reply