It is currently 19 Aug 2019, 05:45
   
Text Size

Having Trouble Setting Up XMage Server

by BetaSteward

Moderators: TheElk801, BetaSteward, LevelX, North, noxx, JayDi, jeffwadsworth, 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: 23
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: 189
Joined: 23 Nov 2017, 15:41
Location: Russia
Has thanked: 0 time
Been thanked: 29 times


Return to XMage

Who is online

Users browsing this forum: No registered users and 4 guests


Who is online

In total there are 4 users online :: 0 registered, 0 hidden and 4 guests (based on users active over the past 10 minutes)
Most users ever online was 287 on 31 Mar 2019, 04:11

Users browsing this forum: No registered users and 4 guests

Login Form