Board index FlightGear Support Multiplayer

Help. I try configure a server for multiplayer.

Trouble getting online, setting up a server?
Forum rules
In order to help you, we need to know a lot of information. Make sure to include answers to at least the following questions in your initial post.

- what OS (Windows Xp/Vista, Mac etc.) are you running?
- what FlightGear version do you use?
- copy&paste your commandline.

Please, also see Requesting Technical Help.

Note: If you did not get a reponse, even after 7 days, you may want to check out the FlightGear mailing lists to ask your question there.

Help. I try configure a server for multiplayer.

Postby PabloCordova » Tue Oct 09, 2012 10:22 pm

Hello.

Please, Help me.

I configured the fgms.conf file like this:

# Example configuration file for fgms
# Copy this file to "fgms.conf" and edit
# its content!
#
# keep entries in this file ordered!
#

##################################################
# name of the server, used in chat messages sent by the server
server.name = simaqtel

##################################################
# only listen on this address
#server.address = 127.0.0.1
server.address = 192.168.1.1

##################################################
# listening port
server.port = 5000

##################################################
# port for telnet, default port+1
# set to 0 (zero) to disable telnet
# note however, for public servers this should be 5001
server.telnet_port = 5001

##################################################
# time to keep client information in list
# without updates in seconds
server.playerexpires = 10

##################################################
# write logs to this file
server.logfile = fgms.log

##################################################
# Tracking server
# set "server.tracked" = true to use it
# only set this to true if the tracking server
# admin allows it!
server.tracked = false
server.tracking_server = 62.112.194.20
server.tracking_port = 8000

##################################################
# if set to true, fg_server will run in the
# background
server.daemon = false

##################################################
# if set to true, fgms will act as a HUB server
# a HUB server will resend packets received from
# relays to all other relays
# *only* set to true if you know what you are
# doning
server.is_hub = false

##################################################
# only forward data to clients which are really
# nearby the sender. distance in nautical miles
server.out_of_reach = 100

##################################################
# List of relay servers
# Here you configure to which servers you want your server
# to send data of local clients to. Remember that those
# servers should be configured so that those will sent their
# client data to your server, too!
# If running in a local network, you don't need to use relays
#

# Oliver Schroeder, Berlin, Germany
#relay.host = mpserver01.flightgear.org
#relay.port = 5000

##################################################
# list of crossfeed servers
# these servers will received all locally
# received packets without any condition
# i.e. all packets are mirrored to them
# crossfeed.host = localhost
# crossfeed.port = 5002

##################################################
# List of blacklisted client IPs
# set these to block specific client IPs
#blacklist = 123.123.123.123
#blacklist = 12.12.12.12

But, when I execute:

root@simaqtel-desktop:/home/simaqtel/fgms/fgms-pabloccms-fgms-0-x2/build-fgms# ./fgms
processing fgms.conf
FG_SERVER::Init() - failed to bind to port 5000
already in use?

I've tried with different port numbers and nothing.
Not that I am wrong.

Note: I'm connected to an Internet router and the IP Address of the computer is 192.168.1.36

Thank.
PabloCordova
 
Posts: 11
Joined: Mon Jun 11, 2012 8:41 pm

Return to Multiplayer

Who is online

Users browsing this forum: No registered users and 1 guest