Cannot connect to my server

Today i set up a mineos server using the mine os plugin for freenas. i did everything in my power, but whenever i try to connect from a computer on the same network, or computer on a different network (port forwarding is enabled for port 25565) it just gives me a “connection refused” error. i have tried evrything i can think of. do anyof you have any idead?

What exactrly have you tried?