Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trying to make a server on computer and its not working #6381

Closed
ckg6616 opened this issue Mar 29, 2020 · 3 comments
Closed

trying to make a server on computer and its not working #6381

ckg6616 opened this issue Mar 29, 2020 · 3 comments

Comments

@ckg6616
Copy link

ckg6616 commented Mar 29, 2020

hi ive been trying to make a server on my oc so that me and a bunch of people can play magic during the corona outbreak and it not working got any clue what im doing wrong im ported to 17171 on my xfinity router

<server serverAddress="67.185.178.241"
serverName="demolay-mage-server"
port="17171"
secondaryBindPort="-1"
backlogSize="200"
numAcceptThreads="2"
maxPoolSize="300"
leasePeriod="5000"
socketWriteTimeout="10000"
maxGameThreads="10"
maxSecondsIdle="600"
minUserNameLength="3"
maxUserNameLength="14"
invalidUserNamePattern="[^a-z0-9_]"
minPasswordLength="8"
maxPasswordLength="100"
maxAiOpponents="15"
saveGameActivated="false"
authenticationActivated="false"
googleAccount=""
mailgunApiKey=""
mailgunDomain=""
mailSmtpHost=""
mailSmtpPort=""
mailUser=""
mailPassword=""
mailFromAddress=""

@JayDi85
Copy link
Member

JayDi85 commented Mar 29, 2020

  1. setup secondaryBindPort to 17172
  2. serverAddress must be visible by server and all other clients too (server must see own IP, clients -- router's IP);
  3. Follow that instructions (port forward, firewall enable/disable, host file edit if you use router).

@LeeTranMN
Copy link

Is there an issue that exists for this? I feel like users that are attempting to connect shouldn't have to edit their hosts file if they already have the IP they're meaning to connect to.

@JayDi85
Copy link
Member

JayDi85 commented May 22, 2020

@leestran1995-daugherty there are many instructions to setup server on github welcome page.

Yes, it's possible to use settings without user's host file modification:

  1. You can assign real domain name for server;
  2. You can use fake domain main from IP like https://nip.io/ services:
  • On server side: use that domain name magic-67.185.178.241.nip.io as serverAddress (there 67.185.178.241 is your public IP);
  • On server side: edit host file to map that domain name magic-67.185.178.241.nip.io to your local IP;
  • On client side use normal domain name magic-67.185.178.241.nip.io;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants