Code ERROR_WINHTTP_TIMEOUT

I try to connect on my own server and it shows me this message Code ERROR_WINHTTP_TIMEOUT, I have open ports 30120, to connect, do I have to use my ip publishes true?

Use direct connect through 127.0.0.1

Already solved the problem was that I had firewall enabled thanks for responding friend