Jump to content

Search the Community

Showing results for tags 'localhost'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • General Discussion
    • Website Management and Coding
    • Technology and the Internet
    • Philosophy, Politics, and Science
    • Art and Entertainment
    • Other Discussion
  • HelioHost
    • Questions
    • Customer Service
    • How You Can Help
  • HelioNet
    • News
    • Contact HelioNet

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Website URL







Found 4 results

  1. Hello I've finally been granted Java support on my account, and so today I tried to test out my website/game on it. I'm very new to websites, domains, etc. so my knowledge of all this is limited. That being said I've worked on my website/game for a while now, and I know it works as I have tested it on my computer. My game uses a websocket from the client side to connect to the Java websocket endpoint. I use: new WebSocket("ws://localhost:443/Hide/Server/ANY") ...on the client side to do this. "localhost" is used because this is being tested on Tomcat on the same computer; "443" because while I can set this to any number (which I have tested), it seems like the best port I could use for a non-secured connection; "Hide" is the project folder name; "Server/ANY" is the server endpoint. I've tested this many times and it works. Now to move the project/WAR file (WAR file is called "Hide-1.war") to HelioHost, I first changed the Websocket URL to: new WebSocket("ws://hhdavidh.heliohost.org/Hide/Server/ANY") I then uploaded the WAR file and deployed it. However, when I go to the URL where it's deployed at (http://hhdavidh.heliohost.org/Hide-1/) I get: WebSocket connection to 'ws://hhdavidh.heliohost.org/Hide/Server/ANY' failed: Error during WebSocket handshake: Unexpected response code: 404 I've tried port "8080" as well as other port numbers. I've tried changing the websocket URL to: new WebSocket("ws://hhdavidh.heliohost.org/Hide-1/Server/ANY") new WebSocket("ws://hhdavidh.heliohost.org/Server/ANY") new WebSocket("ws://hhdavidh.heliohost.org:8080/Hide/Server/ANY") ... ...which all come up with the same error. When trying: new WebSocket("ws://hhdavidh.heliohost.org:443/Hide/Server/ANY") ...the error is instead: WebSocket connection to 'ws://hhdavidh.heliohost.org:443/Hide/Server/ANY' failed: Connection closed before receiving a handshake response I've tried everything I can think of but now I'm stuck. Any help is appreciated!
  2. Hi, I am struggling with my Phpbb forum database, any help would be appreciated. - I have uploaded my files by FTP in a directory: public_html/forum - I have imported my sql backup in PhpMyAdmin - I have edited my config.php file And I cannot connect to my forum, I have an Internal Server Error: http://greed-is-good.fr/forum/ In order to go further and check if I was doing something wrong, I have also installed Phpbb thanks to softaculous, in public_html/phpbb and here it is working fine, but I cannot find where the error is? In the config.php file there are some differences: - Mysql vs mysqli - @define('PHPBB_ENVIRONMENT', 'production'); Even if I change those lines I still have the issue, I also tried to change localhost to Any ideas? Regards, G
  3. Hi eveyone! I am using the following code to connect to my mySQL database: <?php // Create connection$conn = mysqli_connect('localhost', 'database_user_name', 'database_password');// Check connectionif (!$conn) {die("Connection failed: " . mysqli_connect_error());} mysqli_select_db($conn,"database_name"); ?> I tried several variants of this, replacing parameters: mysqli_connect('tommy.heliohost.org', 'database_user_name', 'database_password'); mysqli_connect('localhost', 'database_name', 'database_password'); mysqli_connect('tommy.heliohost.org', 'database_name', 'database_password'); None of those seem to work. Could you please help me out figure out which host, username and password I should use to make this work. To note, my website is currently hosted on tommy.heliohost.org. Is this also true for mySQL database? In the next step I will be trying to connect remotely and it would be cool if you also let me know what the hostname for the external world looks like, and how do i log onto it. Thank you very much! Best, Milan
  4. Hi, A certain softaculous script does not support remote MySQL hosts, and does support only "localhost" as MySQL host. Do you implement a remote host or localhost? Server: Steive Thanks Ashraf
  • Create New...