Перенос WebSocket проекта с localhost на хостинг
Здравствуйте, возникла проблема с переносом простенького чата с локального сервера на хостинг.
В папке с проектом на локалхосте лежит серверный скрипт "server.php", который успешно запускается командой "php server.php", однако после переноса на хостинг запуск того же файла дает ошибку - Uncaught RuntimeException: Failed to listen on "tcp://0.0.0.0:8080": Address already in use in
Судя по ошибке, я предположил, что проблема в порту, поменял его на свободный и после этого скрипт стал просто зависать не выдавая никакой ошибки в логах.
По сути, задача заключается в настройке WebSocket'а на хостинге.
Оплата сразу после настройки, либо через сейф.
-
А хостинг поддерживает свое приложение вешать на каком-то порту? Большинство вирт хостингов такого не дают
-
а, я так понял VPS сервер обязателен для подобного рода задач?
-
Current freelance projects in the category PHP
Integration needed: KeyCRM → Cash Register KashalotIt is necessary to set up integration between KeyCRM and the Cash Register Kahalot. When placing an order in KeyCRM, the data must be automatically transmitted to Kahalot: • order information • products, nomenclature • prices • quantity More details in private. Content Management Systems, PHP ∙ 1 day 22 hours back ∙ 27 proposals |
Development of 2 SEO-oriented websites for selling spare parts (ATVs and special equipment)Development of Two Specialized Websites for Selling Spare PartsGeneral Information It is necessary to develop two specialized websites: Spare parts for ATVs, UTVs, SSVs, and other similar equipment. Spare parts for special equipment. Existing company website:… PHP, Web Programming ∙ 4 days 5 hours back ∙ 77 proposals |
Development of a WordPress website
22 USD
We are looking for a contractor to develop a custom website on WordPress for a jewelry store. The first stage will be a consultation. Content Management Systems, PHP ∙ 6 days 21 hours back ∙ 74 proposals |
Parser expireddomains.net
112 USD
A parser is needed for expireddomains.net. You need to log in to the site first; the problem is that it blocks the IP when trying to parse data. You need to parse thematic domains based on a list of keywords. If you are not confident in your abilities, please do not write. PHP, Web Programming ∙ 9 days 5 hours back ∙ 53 proposals |
Integration of payment service with Sales Force
70 USD
There is a payment system widget on the site that needs to be integrated with Salesforce so that all required parameters are visible on the Salesforce side. It needs to be done in such a way that all payments and subscriptions are controlled through Salesforce. PHP, Web Programming ∙ 9 days 8 hours back ∙ 44 proposals |