It is currently 16 Apr 2024, 09:36
   
Text Size

Trouble setting up an Xmage server

by BetaSteward

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


Who is online

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

Login Form