Packaging and creating a dedicated server

Haha :slight_smile:
My ‘exact’ question would be : is taht possible for a html exported game to connect to a dedicated server located on the same machine where the hosting website is ?