Public address not working

I just set up a minecraft server on a system running ubuntu. I have installed playit on the server and done all the steps but every time i try to connect to the public address i got from the tunnel, minecraft says “Connection refused : no further information.”

you need to turn off your firewall