Jump to content
Bicrypto v4.4.2 + All Plugins ×

Whatsapp Gateway | Multi Device v8.5.1


Magd Almuntaser

Recommended Posts

On 9/19/2024 at 5:16 AM, Magd Almuntaser said:

you can use your ip or your domain..
It all depends on the hosting you use and I will explain some points:

1- If you use shared hosting, you will face the problem that the IP is not for you alone, but for several people, and you will not be able to use the IP in the WhatsApp server, so you will have to use the domain.

2- Some hosting can use one IP for several sites, but they allow sharing ports, meaning that you can use the IP in the WhatsApp server, but these hosting companies are rare.

3- If you use VPS, you have your own IP and you can use it as a WhatsApp server.

Note: Even if you are using VPS or shared hosting, you may face a problem that if you put the IP or domain in the WhatsApp server, it will not work because some shared hosting or VPS settings use IPv6, and this is the biggest problem for the socket, as IPv4 must be used for external connection, and you can solve it in two ways (the first is to contact the hosting company to stop IPv6 on your site or VPS) (the second is to modify the server.js file to connect to the external IP, which is 0.0.0.0, and IPV4 will be used automatically).

In your situation, your problem was that your site uses IPV6, and when you put your site's IP, the socket knows that it must connect using IPv4.

========================

Final note: Videos will be uploaded soon for the steps to install the script in aapanel, cpanel and vps.. and video to fix your problem with your site yourself.. As version 8.5.1 is free of any errors or problems in installation and running except if there is a bug in the design ..


The most important advice for users of shared hosting:
Try before paying a site and before you search for the cheapest hosting in the world that you will use a script to send and receive and link several numbers and your messages may reach thousands of advertising messages to your customers per minute.. Think before you choose and you can contact the company before paying in order to know whether the hosting specifications are suitable for you or not.. I do not want to mention the names of hosting companies to avoid them, but the most important point you can ask your company about is virtual ram for processes (nodejs) that it is equal to more than 4MB, for example 32MB and above. You can tell the hosting company to tell you how much the result is for (ulimit -v) command if it is greater than 4914304 because this is the default value that most hosting companies leave as is without change and the user falls into their trap as this number will not even run a txt file in the node..

Hello, here is the error in my aapanel pm2 manager, after setting it up, it's not running and showing this error.

[PM2][Initialization] Environment variable HOME (Linux) or HOMEPATH (Windows) are not set! [PM2][Initialization] Defaulting to /etc/.pm2 [PM2][ERROR] Script not found: /www/server/panel/ndoepunke ,please take a look

  • Like 1
Link to comment
Share on other sites

28 minutes ago, Johnson Liu said:

Hello, here is the error in my aapanel pm2 manager, after setting it up, it's not running and showing this error.

[PM2][Initialization] Environment variable HOME (Linux) or HOMEPATH (Windows) are not set! [PM2][Initialization] Defaulting to /etc/.pm2 [PM2][ERROR] Script not found: /www/server/panel/ndoepunke ,please take a look

This problem come from aapanel itself.

Try using node project, or use pm2 on terminal. Aapanel buggy bro

  • Like 1
Link to comment
Share on other sites

1 hour ago, Johnson Liu said:

Hello, here is the error in my aapanel pm2 manager, after setting it up, it's not running and showing this error.

[PM2][Initialization] Environment variable HOME (Linux) or HOMEPATH (Windows) are not set! [PM2][Initialization] Defaulting to /etc/.pm2 [PM2][ERROR] Script not found: /www/server/panel/ndoepunke ,please take a look

May I ask bro, what version do you using mpwa? Lates?

 

If yes, this mpwa have modified can running without pm2, if you consent it a stabillity for the apps, you just run the node js without pm2. For the case if stopped running, it can set cron job for 1 hour to restrat the node js.

May this help you.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...