951225 - can't create server on Windows

All things BZFlag - no [OT] here please
Post Reply
hamidi
Private First Class
Private First Class
Posts: 7
Joined: Wed Mar 15, 2017 7:06 am

951225 - can't create server on Windows

Post by hamidi » Wed Mar 15, 2017 7:19 am

OS: Windows XP or Windows 7
bzflag ver: 2.4.8

hi
the problem is that it says that it has created the server. it takes no time. in Linux it takes some milliseconds for the server to be created, but in Windows it takes no time. it seems that it has not created the server while it produces no error. when i go to join to the created server it says that no server was found. i think it says right, because a real server is not created. all of this is done on a single Windows PC and i try to join to localhost, but i can't.

what's wrong and what i've to do?

User avatar
blast
General
General
Posts: 4785
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: 951225 - can't create server on Windows

Post by blast » Wed Mar 15, 2017 10:01 am

On Windows, it doesn't like joining 'localhost', so try 127.0.0.1 instead.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image

hamidi
Private First Class
Private First Class
Posts: 7
Joined: Wed Mar 15, 2017 7:06 am

Re: 951225 - can't create server on Windows

Post by hamidi » Wed Mar 15, 2017 10:08 am

ur right, but it's still erroneous. it changed to:
Error connecting to server

User avatar
blast
General
General
Posts: 4785
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: 951225 - can't create server on Windows

Post by blast » Wed Mar 15, 2017 10:26 am

If you want error output, you'll have to run the server (bzfs) yourself manually. The start server menu isn't perfect.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image

hamidi
Private First Class
Private First Class
Posts: 7
Joined: Wed Mar 15, 2017 7:06 am

Re: 951225 - can't create server on Windows

Post by hamidi » Wed Mar 15, 2017 10:31 am

oh ok. now i can connect to myself. but on the same subnet, others can't join

User avatar
blast
General
General
Posts: 4785
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: 951225 - can't create server on Windows

Post by blast » Wed Mar 15, 2017 5:40 pm

The start server menu is just for LAN games. Public servers are more involved to setup (including port forwarding for systems behind NAT), and public listing requires a public server key.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image

hamidi
Private First Class
Private First Class
Posts: 7
Joined: Wed Mar 15, 2017 7:06 am

Re: 951225 - can't create server on Windows

Post by hamidi » Wed Mar 15, 2017 5:56 pm

it's just LAN

User avatar
blast
General
General
Posts: 4785
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: 951225 - can't create server on Windows

Post by blast » Wed Mar 15, 2017 9:08 pm

Sorry, I had misread your message. Then you may have a firewall on your computer.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image

hamidi
Private First Class
Private First Class
Posts: 7
Joined: Wed Mar 15, 2017 7:06 am

Re: 951225 - can't create server on Windows

Post by hamidi » Thu Mar 16, 2017 9:31 pm

no, there's no firewall on the network, because i can create server on the same network "in linux" and others can join .

User avatar
blast
General
General
Posts: 4785
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: 951225 - can't create server on Windows

Post by blast » Thu Mar 16, 2017 9:59 pm

Windows has a firewall enabled by default. Linux, generally, does not. And just to verify, you are providing the IP of the host computer on the other systems, not 127.0.0.1, right?
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image

hamidi
Private First Class
Private First Class
Posts: 7
Joined: Wed Mar 15, 2017 7:06 am

Re: 951225 - can't create server on Windows

Post by hamidi » Thu Mar 30, 2017 5:16 am

sorry for delay, i was on vacation.
about firewall verification, let's put both server and client on the same machine. i can't connect to the server in such condition too. i put server ip to 127.0.0.1 or localhost. in both situations, it doesn't work.

User avatar
blast
General
General
Posts: 4785
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: 951225 - can't create server on Windows

Post by blast » Thu Mar 30, 2017 10:24 am

127.0.0.1 points to whatever computer you are on on. It's the loopback address. If the server is on computer A and you try to join 127.0.0.1 on computer B, it will not work, because it is trying to join a server running on server B, when it's actually running on A. You have to use the IP of the actual network interface if you want to connect, which for a typical home LAN is going to be something starting with 192.168.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image

hamidi
Private First Class
Private First Class
Posts: 7
Joined: Wed Mar 15, 2017 7:06 am

Re: 951225 - can't create server on Windows

Post by hamidi » Thu Mar 30, 2017 11:03 am

oh sure, i know about net. i create the server on the same machine. consider a single pc. indeed others are on LAN, but not going out of my pc. both server and client, as i said, are on the same pc.

Post Reply