Having Trouble Setting Up XMage Server
by BetaSteward
Moderators: North, BetaSteward, noxx, jeffwadsworth, JayDi, TheElk801, LevelX, CCGHQ Admins
Having Trouble Setting Up XMage Server
by 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]
- Code: Select all
127.0.0.1 localhost
192.168.1.20 tetxmage.play.ai
Re: Having Trouble Setting Up XMage Server
by 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.
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.
-
JayDi - Posts: 324
- Joined: 23 Nov 2017, 15:41
- Location: Russia
- Has thanked: 0 time
- Been thanked: 48 times
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 22 guests