devlikeapro / waha

WAHA - WhatsApp HTTP API (REST API) that you can configure in a click!
https://waha.devlike.pro/
Apache License 2.0
813 stars 248 forks source link

how to use/access it on VPS #309

Closed kslakhani closed 2 months ago

kslakhani commented 2 months ago

Succesfully installed through docker and runs by giving "docker run -it -p 3000:3000/tcp devlikeapro/whatsapp-http-api". or the new updated command.

Problem is how can access it from browser?

I tried it something like "docker run -it -p my.dedicated.ip:33:33/tcp devlikeapro/whatsapp-http-api" the command runs successfully and shows the message ##WhatsApp HTTP API is running on: http://[::1]:3000

But after if I go to http://my-dedicated-ip:33 it says this site cant be reach

allburov commented 2 months ago

try 3000 or 80 port

patron:PRO

allburov commented 2 months ago
docker run -it -p my.dedicated.ip:80:3000/tcp devlikeapro/whatsapp-http-api

patron:PRO

kslakhani commented 2 months ago

Error response from daemon: driver failed programming external connectivity on endpoint whatsapp-http-api (794672b162d4b07bfede2f2ea0cf47c9abe753a45089aa2ae6b7ba3850d737e2): Error starting userland proxy: listen tcp4 my.ip:80: bind: address already in use. ERRO[0000] error waiting for container: context canceled

docker run -it -p my.dedicated.ip:80:3000/tcp devlikeapro/whatsapp-http-api

patron:PRO

kslakhani commented 2 months ago

try 3000 or 80 port

patron:PRO

if I give command like "docker run -it --rm -p my.server.ip:255:255/tcp --name whatsapp-http-api devlikeapro/whatsapp-http-api" app runs successfully but then not opening on browser http://my.server.ip:255

devlikepro commented 2 months ago

The question is not related to the project, but rather to your specific infrastructure. If you wish you can get paid consultations - in WAHA PRO tier

patron:PRO