IPaddress

Locked
v1l3
Posts: 822
Joined: Wed Apr 02, 2003 8:00 am

IPaddress

Post by v1l3 »

How do I find out my IPaddress? It's been years since I tried to run a server. I tried the: Start->Run and type in winipcfg way, but I'm getting a "Windows cannot find 'winipcfg' " dealie. So..then I went to http://network-tools.com/ and got my ipaddress, but it gave me no :27960 at the end. I started up a dedicated server, and than opened up a second Q3 on my computer and tried to connect to my dedicated that I had running and it wouldn't connect to it, and I went to Mutiplayer Server search ingame and it wasn't even showing up on that list. Is the :27960 wrong? I'm on 1.32c PR. I just got my son and myself a laptop, and I want to play against him..so I'm trying to get one going. I have a Windows XP 2005 HP.

-thx
m4shke
Posts: 62
Joined: Tue Dec 22, 2009 7:11 pm

Re: IPaddress

Post by m4shke »

Go to Start -> Run

Then type "cmd" (withouth quotes) and that should open a command console

Type "ipconfig /all" (again, without quotes) and you see all your IP information

:cool: :up:
DTS
Posts: 2879
Joined: Thu Jul 13, 2000 7:00 am

Re: IPaddress

Post by DTS »

You don't need to put the "/all" bit. I don't know what that's for, but it always works for me without it.

Also, "cmd" is short for "command", which also works :) Easier to remember if you know that :)
speaker
Posts: 167
Joined: Sun Jan 13, 2008 8:34 pm

Re: IPaddress

Post by speaker »

Hi,

When you start a server, it should write to the server console and the log file the IP number it uses. Something like this:

....
Winsock Initialized
Hostname: enterprise
IP: 192.168.2.100
Using IP address '192.168.2.100' <--- this is the stuff you need
Opening IP socket: 192.168.2.100:27960
....

(this example is from the console of a Q3MIN server I started on my machine).

You should use the reported address to connect, regardless whether you start the client on the same machine or on another one on your local network. If the server does not report a valid address (some ioquake3 based servers fail to set a valid IP address), you could try to specify one on the command line:

[server].exe +set net_ip "xxx.xxx.xxx.xxx"

where [server] is the name of your server EXE and 'xxx.xxx.xxx.xxx' is the IP number of the machine (as determined by running 'ipconfig').

Speaker
User avatar
MKJ
Posts: 32582
Joined: Fri Nov 24, 2000 8:00 am

Re: IPaddress

Post by MKJ »

indeed. the ip you got from network-tools.com was your external ip. for your own network, use your local ip (e.g. 192.168.1.1, depending on your setup).
if youre trying to connect to the same machine, use 127.0.0.1

DTS: the /all gives the user details of all network interfaces if applicable, as well as giving more specific details of each like MAC
v1l3
Posts: 822
Joined: Wed Apr 02, 2003 8:00 am

Re: IPaddress

Post by v1l3 »

Thanks Guys, I'm having problems getting that damn computer to connect to the internet..so I'm not being able to see which will work..right now I think I wanna step on the damn thing! j/k Right after I popped up this post last night before any of you answered back, I went through the console in-game and typed in A [TAB] -through- Z[TAB] to look at the cvars/commands, and ended up finding \showip and it gave me 192.168.2.2 do you guys think that's the same thing?
User avatar
Foo
Posts: 13840
Joined: Thu Aug 03, 2000 7:00 am
Location: New Zealand

Re: IPaddress

Post by Foo »

Technical issues aside I think the problem is most likely the software firewalls you have installed on your computers.

Try unplugging your internet router from the internet, then turning off all firewalls on both PCs... see if quake connects. If so, you know where the problem lies.
v1l3
Posts: 822
Joined: Wed Apr 02, 2003 8:00 am

Re: IPaddress

Post by v1l3 »

Ok I got it going! It was an internet connection problem..something to do with the laptop and wireless shit..it's brand new so I'm really ignorant with it. I figured out the ip also. Thank you very much for helping guys!
Locked