It is currently 27 Sep 2020, 01:04
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 - =>[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       localhost
Is that correct or am I supposed to use the public IP I assigned the domain to?
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 must be your real server machine address, not NAT/router.

As example you can use that:

Server: localhost

port forward 17171 and 17179 (look at config.xml) from income to

connect to

Connection workflows:

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

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

Return to XMage

Who is online

Users browsing this forum: No registered users and 9 guests

Who is online

In total there are 9 users online :: 0 registered, 0 hidden and 9 guests (based on users active over the past 10 minutes)
Most users ever online was 1371 on 09 Feb 2020, 16:22

Users browsing this forum: No registered users and 9 guests

Login Form