[Guide] Create and maintain a server on Windows

User avatar
bosapara
Member
Posts: 617
Joined: Fri Apr 07, 2017 08:49

Re: [Guide] Create and maintain a server on Windows

by bosapara » Post

Enrikoo wrote:
bosapara wrote:
Enrikoo wrote:I think I have a problem on announcing my server on the serverlist, i set
Check your firewall, i had a similar problem.
Shall I turn firewall off for server?
Tell me what you did so I can do this too.

Firstly add port which you use and server (minetest.exe) to white list in 'brandmauer'.

If you use firewall or antivirus, do the same. Here you can find pics with explaining

PS Don't turn off your firewall, It is not safe

Enrikoo
Member
Posts: 452
Joined: Thu Nov 16, 2017 18:18
GitHub: Enrikoo
IRC: Enrico - Enricoo - Enrlco
In-game: Enrico - Enriko
Location: Germany
Contact:

Re: [Guide] Create and maintain a server on Windows

by Enrikoo » Post

How do I whitelist my game so that I can announce my server?

But where to add port?

How can I find my own port?

User avatar
Visitor247
Member
Posts: 18
Joined: Tue Dec 03, 2019 11:09

Re: [Guide] Create and maintain a server on Windows

by Visitor247 » Post

Hi,
I have to find out why nobody can connect to the minetest server from outside.
I guess the problem is on the main server, but I try to eliminate errors. So…

– Minetest is running on a PC in my school. I started it via CMD on a Windows 10 PC. Users from the local network can connect and play without problems, by inserting the IP of the PC in the server field.
– I ordered the company running the main server to create a subdomain and point it to the IP the minetest server is running on. Also port 30000 should be opened.

Am I correct in assuming that I don't need to add any server related lines to the minetest.conf if the server should not be announced?
That would mean, if somebody knows the subdomain they should be able to connect to the minetest server from a client outside the domain by typing in the subdomain, right?

If this is correct, is there anything important about minetest, other than opening port 30000, I could tell the server company to get the forwarding working?

User avatar
Miniontoby
Member
Posts: 436
Joined: Fri Mar 01, 2019 19:25
IRC: Miniontoby
In-game: Miniontoby
Location: The Netherlands

Re: [Guide] Create and maintain a server on Windows

by Miniontoby » Post

Did you done this
CraigyDavi wrote: Firstly, You need to find out your default gateway and access your router settings.
  • Open up command prompt and type ipconfig /all
  • Find where it says Default Gateway
    Image
  • Open up your browser and go to http://yourdefaultgateway (obviously replace mydefaultgateway with your actual default gatway).
  • You will now be at your router settings. This is what mine looks like:
    Image
    Now you need to do the port forwarding.
  • Get to the settings. The port forwarding settings may be in the advanced settings.
  • If you are prompted for passwords try using “admin” or “password”. My password was on the back of the router.
    Image
  • You need to get to the port forwarding settings. They may be under the firewall settings. It may also be called “Forward a new game/application.
  • Make sure you use UDP and port 30000 (thirty thousand) The port used in the port range should translate to the same ports. Click apply.
    Image
  • You also need to make sure that you assign the port range to point to the right device (your computer hosting the server). This may be on a different settings page or it may be on the same settings page.
    Image
The port forwarding is done. Make sure all the settings have been set. It may take a few minutes for the ports to be forwarded and it may require a restart of the computer.
And no firewall that blocks it??
My English isn't very good because I'm Dutch ---- Check my mod "Doorbell" Vote your gang

simondanerd
New member
Posts: 1
Joined: Sat Mar 14, 2020 12:47
GitHub: lucasburlingham
IRC: simondanerd
In-game: simondanerd
Location: Indiana

Re: [Guide] Create and maintain a server on Windows

by simondanerd » Post

I would like to add that running a MT server in the background as a service is also a good idea if you are forgetful. I have been using this setup for a while with the Jovark Realms server, and also the newer The Creative Mineclone Server. I often restart because I don't use a dedicated server (i also don't have a lot of traffic) but rather use my Dell OptiPlex 7010 (Intel Quad Core i5 3470 @ 3.2+ GHz, 32 GB RAM, 240 GB SSD, Win10 Pro) for all my tasks. Setting this up is rather easy - even as a 15 year old it was pretty easy thing to accomplish.
  1. First, login to an administrator's account (it will make this entire process easier).
  2. Open Task Scheduler and click 'Create Task'. Name your task something relevant (like [Server name] MT SERVER, and add a description if wanted (recommended, add the date you started this process).
  3. Click the 'Triggers' tab at the top of the window, and click 'New'. In the drop down menu titled 'Begin the task' and select 'At Startup', then click 'OK'.
  4. Go to the 'Actions' tab and click 'New'. You want to start a program so leave the default drop down value.
  5. Use the 'Browse' and find the minetest.exe file on your computer. You want to start a server, so in the 'Add Arguments (optional):' box, enter

    Code: Select all

    --server --worldname [worldname] 
    (The --worldname part is optional if you only have one server running per instance of the --minetest.exe file.)
  6. Click 'OK' twice to exit the pop-out window.
  7. Restart your computer, and your MT server will be running in the background.
All information came from my brain and this helpful article on even more helpful Superuser.com: https://superuser.com/questions/929225/. Please be aware that the duplicate is better for beginners, the other article does not go into enough detail to count as 'beginner' friendly, and does not use the Task Scheduler approach.
Lucas Burlingham
Jovark Realms Server Owner and Admin

Code: Select all

(jovarkrealm.ddns.net:30000)
The Creative Mineclone Server (Server Owner)

Code: Select all

mystical.ddns.net:30001

Are6
New member
Posts: 6
Joined: Wed Dec 25, 2019 14:47
In-game: Are6 Airo6 aidan5433

Re:

by Are6 » Post

PilzAdam wrote:.eltit eht ot ']swodniW[' dda dluohs uoY
Didn't he?
Are6

Are6
New member
Posts: 6
Joined: Wed Dec 25, 2019 14:47
In-game: Are6 Airo6 aidan5433

Re: [Guide] Create and maintain a server on Windows

by Are6 » Post

Hey, so how do I give someone admin privs on my own server? Why does it keep saying "You don't have enough rights to do so"? Is it because of the "Interact, shout" stuff? What else do I have to add?
Are6

User avatar
Miniontoby
Member
Posts: 436
Joined: Fri Mar 01, 2019 19:25
IRC: Miniontoby
In-game: Miniontoby
Location: The Netherlands

Re: [Guide] Create and maintain a server on Windows

by Miniontoby » Post

if you join as the setted name in the minetest.conf ("name = <name>" setting) then type in chat "/grantme all" and then you have all privs and you can grant other people, if you want
My English isn't very good because I'm Dutch ---- Check my mod "Doorbell" Vote your gang

Jan
Member
Posts: 11
Joined: Fri Jul 28, 2017 19:32
In-game: j1233
Location: Cambridge, England, UK
Contact:

Re: [Guide] Create and maintain a server on Windows

by Jan » Post

How do you male it so the whole server backsup automatically regularly?

User avatar
Miniontoby
Member
Posts: 436
Joined: Fri Mar 01, 2019 19:25
IRC: Miniontoby
In-game: Miniontoby
Location: The Netherlands

Re: [Guide] Create and maintain a server on Windows

by Miniontoby » Post

Jan wrote:
Sun Aug 16, 2020 22:48
How do you male it so the whole server backsup automatically regularly?
Hmm for linux its simple bit for windows its a bit difficult. Let me see
  1. create a .bat file
  2. (let me think of a code) (come to my irc at {miniontoby.us5.ircnow.org port: 6697 channel: #miniontoby} to talk and get a code scripted working)
  3. create an other script which will be runned at login and which runs the script at 1 every maybe day
My English isn't very good because I'm Dutch ---- Check my mod "Doorbell" Vote your gang

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests