MineOs server not showing up on minecraft neither on lan nor WAN

Hi, I’ve created a Freenas Server that i want to use as a minecraft server too.
I’ve installed the plugin imported my world and started the server.Everything is fine by looking at the console but when i try to connect from minecraft it looks like the server isn’t up.
That’s the error that minecraft give me every time i try to connect: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection timed out: no futher information