It is currently 01 Oct 2020, 14:01
   
Text Size

Trouble setting up an Xmage server

by BetaSteward

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

Trouble setting up an Xmage server

Postby Bremlo » 24 Aug 2020, 22:40

Hello. I'm attempting to set up an XMage server for a friend and I on Windows 10, hosting it off of my machine running Windows 10. I have a router.

I followed the instructions I found on another forum directing me to get a domain address, point it to my router's IP address, forward ports 17171 and 17179 (secondary port) then edit my /etc/hosts to bounce my IPv4 to my domain address.

Whenever the server starts I get the error:
Code: Select all
FATAL 2020-08-24 18:27:52,246 Failed to start server - (domain address I'm using):17171/?serializationtype=jboss&maxPoolSize=300 =>[main] Main.main
java.io.IOException: SocketServerInvoker (domain address I'm using) error creating ServerSocket[47.133.44.82:17171]: Cannot assign requested address: JVM_Bind
        at org.jboss.remoting.transport.socket.SocketServerInvoker.createServerSockets(SocketServerInvoker.java:375)
        at org.jboss.remoting.transport.socket.SocketServerInvoker.start(SocketServerInvoker.java:251)
        at org.jboss.remoting.transport.bisocket.BisocketServerInvoker.start(BisocketServerInvoker.java:193)
        at org.jboss.remoting.transport.Connector.start(Connector.java:376)
        at org.jboss.remoting.transporter.TransporterServer.start(TransporterServer.java:198)
        at mage.server.Main.main(Main.java:212)
My hosts file looks like this:
Code: Select all
#   127.0.0.1       localhost
#   ::1             localhost
#   192.168.1.135 <domain address I'm using>
I tried using my machine's IPv4 address which is 192.168.1.135 and I'm still getting this bind error. What do I do? Thank you.

Kindest Regards
Bremlo
 
Posts: 3
Joined: 24 Aug 2020, 22:34
Has thanked: 1 time
Been thanked: 0 time

Re: Trouble setting up an Xmage server

Postby Bremlo » 25 Aug 2020, 04:21

I've managed to solve the issue. I included the # symbol in my etc/hosts file, and have since removed them from the beginning of the line.

But now I have a new issue. So far I've:
Obtained a domain address, successfully pointed it to my IP address
Edited my etc/hosts file to bind the domain address to my PC's internal IPv4 address
Successfully launched the server, listening on the domain address at ports 17171, with port 17172 as the secondary port
Connected to my own server using localhost

But now my friend cannot connect to the server after all of this. They get the message "Server is likely offline" and I am at a loss.
Bremlo
 
Posts: 3
Joined: 24 Aug 2020, 22:34
Has thanked: 1 time
Been thanked: 0 time

Re: Trouble setting up an Xmage server

Postby JayDi » 25 Aug 2020, 07:21

It's need some time to update dns ip address. So just wait until "ping domain-address" from friends machine goes to your IP-address.
User avatar
JayDi
 
Posts: 288
Joined: 23 Nov 2017, 15:41
Location: Russia
Has thanked: 0 time
Been thanked: 39 times

Re: Trouble setting up an Xmage server

Postby Bremlo » 25 Aug 2020, 19:08

Thank you, JayDi. It turns out that I set up everything correctly, but my router needed to restart in order to forward the ports properly. Thank you for your time!
Bremlo
 
Posts: 3
Joined: 24 Aug 2020, 22:34
Has thanked: 1 time
Been thanked: 0 time


Return to XMage

Who is online

Users browsing this forum: No registered users and 7 guests


Who is online

In total there are 7 users online :: 0 registered, 0 hidden and 7 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 7 guests

Login Form