I've downloaded a free Minecraft server from https://minecraft.net/en-us/download/server and it works! I can play on the server. But even if I start up Minecraft with Forge, the mods won't work.
For example, I have WorldEdit. When I type in //wand
it says Unknown command. And when I place down furniture, they pop up for a second and then disappear.
Is there any way to get mods in to your own Minecraft server?