Hello,
A simple HTTP server, like Hercules, should not need any authorization set for the communication.
It's very hard to tell why would you not be able to access your coded HTTP server as it's your personal work I would suggest looking for any mistakes in the code.