Announcement

Collapse
No announcement yet.

Server setup.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Server setup.

    I haven't found a good place to learn about setting up a server, so maybe this is where I'll start?

    Currently I have freeciv running just fine on one machine (serverA). I have no problem connecting to the game with civclient on port 5555. The problem starts when I try to connect to the server from another machine (clientB). I just get the error
    Code:
    connectinon refused
    If I start the server on the OTHER machine (serverB), then I can connect with clientB but get the same error if I try to connect to serverB with clientA.

    Both machines are running Gentoo Linux (2.6 kernel) on the same LAN, sharing a hub, with assigned IP addresses. I am able to ping to each from the other using both IP address and HOST name.

    What am I missing?

    Machine Info:
    Code:
    ServerA/ClientA: 192.168.2.3
    ServerB/ClientB: 192.168.2.108
    Fails to connect "connection refused"
    Code:
    Name: clientB
    Host: 192.168.2.108
    Port: 5555
    Connects OK
    Code:
    Name: clientA
    Host: localhost
    Port: 5555
    impeach, impeach, impeach, impeach...
    (this time it's about more than just cigar tubes!)

  • #2
    You know what? I bet that METASERVER thing is related. Initially I thought that it was for some kind of "BIG" server... maybe not. Perhaps it's required even for a local LAN server?
    impeach, impeach, impeach, impeach...
    (this time it's about more than just cigar tubes!)

    Comment


    • #3
      Does Gentoo enable a firewall by default? Check that port 5555 is not being blocked on the host machine.

      You can also check you can get to the freeciv server port by typing:
      telnet address_of_server 5555
      for example: telnet 192.168.1.100 5555

      And see if you get a "Connected to" message. You can exit the telnet session with Ctrl-] then type quit at the prompt.

      Good luck!

      Comment

      Working...
      X