CURL error code 1 after port forwarding

Hello guys! i downloaded an esx base and got it started and working properly on my localhost! then I forwarded a port 30120 and checked it! when i do connect localhost in console it works but when i do connect myip:30120 i get this error! if anyone of you can help me resolve the prob.

thanks in advance

Hello, this is a friendly reminder because this is your first time creating a topic (or it has been a while since your last topic) in this category.

Please note that most of the support is provided by the community on a voluntary basis. We ask you to be patient; there is no guarantee we have a solution to your problem(s). To avoid unnecessary/duplicate topics, please browse the forums before creating a topic.

To improve your chances of your issue(s) being solved, please provide as much information as possible about the issue(s) you are having. Also —whenever possible— please use the template given to you when creating a topic.

Thanks for keeping these forums tidy!

Because locally you need to use your localhost other people should be able to use your IP.