Open Rails multiplayer issues

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • csantucci
    Senior Member
    • Nov 1999
    • 856
    • Torino, Italy.

    #1

    Open Rails multiplayer issues

    I am trying to run multiplayer by starting one server instance and one client instance on my single computer. I am able to correctly start the Server. When I try to start on the same computer a client by using instructions shown at page 43 of the operations manual, on the log I get following info

    Error: System.Net.Sockets.SocketException: Impossibile stabilire la connessione. Rifiuto persistente del computer di destinazione 37.116.39.207:30000
    in System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
    in System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
    in System.Net.Sockets.TcpClient.Connect(IPEndPoint remoteEP)
    in ORTS.MultiPlayer.ClientComm..ctor(String serverIP, Int32 serverPort, String s)
    in ORTS.Program.InitSimulator(UserSettings settings, String[] args, String mode)
    in ORTS.Program.InitSimulator(UserSettings settings, String[] args)
    in ORTS.Program.<>c__DisplayClass8.<Start>b__7()
    in ORTS.Program.Start(UserSettings settings, String[] args)
    in ORTS.Program.Main(String[] args)

    Connection error - will play in single mode.

    Diagnostics in Italian means: Impossible to establish connection. Persisting refusal by the destination computer.

    What do I make wrong?
    sigpic
  • eolesen
    9500 Post Veteran and Administrator



    • Dec 2002
    • 9583
    • NS MP245.4 CNO&TP South District
    • English, SQL
    • General

    #2
    If you are running on the same PC, use IP address 127.0.0.1 -- this bypasses the network adapter and worked for me.
    If you like what you see here at Trainsim.com, be it the discussions and knowledge in the forums, or items available in our library, I hope you'll consider a paid membership to help support keeping the site operating.... Thanks!

    Comment

    • csantucci
      Senior Member
      • Nov 1999
      • 856
      • Torino, Italy.

      #3
      Thanks eric, that worked!
      sigpic

      Comment

      • jjtang
        Senior Member
        • Nov 1999
        • 200
        • .

        #4
        Setting a server may require port forwarding as indicated in this document:
        OpenRails MultiPlayer Guide Goal: The MultiPlayer mode implemented in this stage is intended for friends to play OR together, each assuming the role of a train engineer operating a train. There is a built-in way to compose and send text messages, but there is no built-in tool for chatting, thus ...


        Or try the standalone server.

        Comment

        Working...