Page 8 of 8

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

Posted: Mon Sep 23, 2019 10:43
by bosapara
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

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

Posted: Mon Sep 23, 2019 16:16
by Enrikoo
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?

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

Posted: Tue Jan 07, 2020 17:30
by Visitor247
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?

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

Posted: Sun Feb 16, 2020 16:22
by Miniontoby
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??

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

Posted: Thu Apr 02, 2020 02:02
by simondanerd
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.

Re:

Posted: Fri Apr 03, 2020 05:26
by Are6
PilzAdam wrote:.eltit eht ot ']swodniW[' dda dluohs uoY
Didn't he?

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

Posted: Fri Apr 03, 2020 05:29
by Are6
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?

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

Posted: Fri Apr 03, 2020 07:25
by Miniontoby
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

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

Posted: Sun Aug 16, 2020 22:48
by j45
How do you make it so the whole server backsup automatically and regularly?

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

Posted: Mon Aug 17, 2020 10:13
by Miniontoby
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

Re: Guide: How to create and maintain a server - Windows

Posted: Sun Dec 27, 2020 14:36
by Oscar234566
Krock wrote:
Thu Jun 05, 2014 14:59
Alt. Tester wrote:Do everyone have 192. as there Default Gateway?
But can someone play with me having my default port?
Since I think my Default is 49301 or 53081.
Since really all I like do is play with a Family Member. so should I just use my Gateway and Whatever My Port should be for them join?
192.168.*.* is a common router network address, which is only accessable fromt he people which are in the same network.

If your family member is in the same network, means: using same router, then you only need to use the "Server" tab in the main menu. Start a world and it'll be playable at the given port within your network.
For this case: No portforward needed.
And what do I have to do if they are not in the same network?

Re: Guide: How to create and maintain a server - Windows

Posted: Thu Dec 31, 2020 09:56
by Miniontoby
Oscar234566 wrote:
Sun Dec 27, 2020 14:36
Krock wrote:
Thu Jun 05, 2014 14:59
Alt. Tester wrote:Do everyone have 192. as there Default Gateway?
But can someone play with me having my default port?
Since I think my Default is 49301 or 53081.
Since really all I like do is play with a Family Member. so should I just use my Gateway and Whatever My Port should be for them join?
192.168.*.* is a common router network address, which is only accessable fromt he people which are in the same network.

If your family member is in the same network, means: using same router, then you only need to use the "Server" tab in the main menu. Start a world and it'll be playable at the given port within your network.
For this case: No portforward needed.
And what do I have to do if they are not in the same network?
Make it public by getting yourself or an hosted server (i can give you one) or get an vps or let your server go though your home firewall

HELP!

Posted: Tue Jan 16, 2024 00:13
by Nininik
HELP! MY COMMAND PROMPT OPENS THEN VANISHES!

Re: HELP!

Posted: Tue Jan 16, 2024 00:18
by Festus1965
Nininik wrote:
Tue Jan 16, 2024 00:13
HELP! MY COMMAND PROMPT OPENS THEN VANISHES!
First that is an Windows problem !

The question might be how you open it, and what win version you have, ... but I remember there was an own sign in the main menue ...

but that is still not a problem of minetest.

help

Posted: Tue Jan 16, 2024 00:33
by Nininik
GUYS so ive manges to host it but only i can join on my computer other devices cant.

s

Posted: Tue Jan 16, 2024 00:44
by Nininik
when attempting to run using windows powershell llike in the wiki,
ends up this: --address <value> Address to connect to. ('' = local game)
--color <value> Coloured logs ('always', 'never' or 'auto'), defaults to 'auto'
--config <value> Load configuration from specified file
--console Starts with the console (Windows only)
--debugger Try to automatically attach a debugger before starting (convenience option)
--gameid <value> Set gameid ("--gameid list" prints available ones)
--go Disable main menu
--help Show allowed options
--info Print more information to console
--logfile <value> Set logfile path ('' = no logging)
--map-dir <value> Same as --world (deprecated)
--migrate <value> Migrate from current map backend to another (Only works when using minetestserver or with --server)
--migrate-auth <value> Migrate from current auth backend to another (Only works when using minetestserver or with --server)
--migrate-mod-storage <value>
Migrate from current mod storage backend to another (Only works when using minetestserver or with --server)
--migrate-players <value> Migrate from current players backend to another (Only works when using minetestserver or with --server)
--name <value> Set player name
--password <value> Set password
--password-file <value> Set password from contents of file
--port <value> Set network port (UDP)
--quiet Print to console errors only
--random-input Enable random user input, for testing
--recompress Recompress the blocks of the given map database.
--run-benchmarks Run the benchmarks and exit
--run-unittests Run the unit tests and exit
--server Run dedicated server
--speedtests Run speed tests
--terminal Feature an interactive terminal (Only works when using minetestserver or with --server)
--test-module <value> Only run the specified test module
--trace Print enormous amounts of information to log and console
--verbose Print even more information to console
--version Show version information
--world <value> Set world path (implies local game if used with option --go)
--worldlist <value> Get list of worlds ('path' lists paths, 'name' lists names, 'both' lists both)
--worldname <value> Set world by name (implies local game if used with option --go)

Re: How to create and maintain a server - Windows

Posted: Tue Jan 16, 2024 01:12
by Festus1965
Nininik wrote:
Tue Jan 16, 2024 00:44
when attempting to run using windows powershell llike in the wiki,
ends up this: --address <value> Address to connect to. ('' = local game)
and what address did you add ? with the parameter to : --address ?.?.?.?

possible is I hope 127.0.0.1 (as always own PC system address), but not for main usage
=> you would be able to start a client on SAME PC and connect to 127.0.0.1

better might be some like you have 192.168.0.1 ??? that would work also inside your network
(check with cmd and ipconfig)
=> with that you can connect from other PC or mobile within your own home network (mean units with 192.168.0.x)

if player from OUTSIDE, mean real internet should be able to join, you need access to the router and let that used --port xxxxx been forwarded to that PCs IP the server runs, even could be also 192.168.0.1 (but that moist is the router), so something 192.168.0.x

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

Posted: Tue Jan 16, 2024 02:09
by Nininik
Yes I have the 65.5.93.180 address for server, but I have 192.168 address on router.

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

Posted: Tue Jan 16, 2024 02:48
by Festus1965
Nininik wrote:
Tue Jan 16, 2024 02:09
Yes I have the 65.5.93.180 address for server, but I have 192.168 address on router.
That sounds maybe logical if you really understood the concept of internet and intranet.

At home your units are ALL needed to have the same IP range as most 192.168.x.x that the router offers the NAT (Intranet) for your home. Otherwise data might not be able to get to the needed home unit that was asking for.

Your router has 2 address : the internal most something like 19.1.68.x.1 as of router settings and the one get from outside during connected to the internet. That one also might change every 24 hours as of local contracts.

So at this point I have no idea where that 65.5.93.180 mean to be at.
But it is USELESS to set this address to the internal server or minetest.conf or --address value.

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

Posted: Fri Feb 02, 2024 21:55
by Walker
Guide - Create and maintain a server on Windows:

step 1: install Linux