It is currently 19 Apr 2024, 17:31
   
Text Size

Having Trouble Setting Up XMage Server

by BetaSteward

Moderators: North, BetaSteward, noxx, jeffwadsworth, JayDi, TheElk801, LevelX, CCGHQ Admins

Having Trouble Setting Up XMage Server

Postby Ronin009 » 16 Jul 2019, 21:55

I'm trying to setup an Xmage server on my PC. I have edited the server's config.xml, and I created a domain to forward to my PC's IP address. When I try to start the server I get this error:
Code: Select all
FATAL 2019-07-16 17:50:28,816 Failed to start server - http://tetxmage.play.ai:17171/?serializationtype=jboss&maxPoolSize=300 =>[main] Main.main
java.lang.RuntimeException: Error setting up server invoker SocketServerInvoker[http:-1]
I'm not exactly sure of the syntax for editing the hosts file on my PC, this is what I have it reading:
Code: Select all
127.0.0.1       localhost
192.168.1.20    tetxmage.play.ai
Is that correct or am I supposed to use the public IP I assigned the domain to?
Ronin009
 
Posts: 28
Joined: 15 Aug 2017, 23:02
Has thanked: 0 time
Been thanked: 1 time

Re: Having Trouble Setting Up XMage Server

Postby JayDi » 16 Jul 2019, 23:46

192.168.1.20 must be your real server machine address, not NAT/router.

As example you can use that:

Server:
127.0.0.1 localhost
192.168.1.20 tetxmage.play.ai

NAT/Router:
port forward 17171 and 17179 (look at config.xml) from income to 192.168.1.20

Client:
connect to tetxmage.play.ai

Connection workflows:

* server:
- load config and start up service on every available networks (if serverAdress = 0.0.0.0) or on selected network (IP must be direct server's IP).

* client:
- client connects to tetxmage.play.ai;
- NAT forwards it to inner server IP (192.168.1.20);
- server get income connection, finds own machine name (transform serverAdress/127.0.0.1 to name) and send it to client;
- client connects to that received name.
User avatar
JayDi
 
Posts: 324
Joined: 23 Nov 2017, 15:41
Location: Russia
Has thanked: 0 time
Been thanked: 48 times


Return to XMage

Who is online

Users browsing this forum: No registered users and 91 guests


Who is online

In total there are 91 users online :: 0 registered, 0 hidden and 91 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 91 guests

Login Form