Hello everyone please m running rasa on a local linux server and i want to send a request from postman but i’ve got this error commande used to run rasa on server : rasa run -m model\Update --enable-api -p 5000
@koaning Please can anyone helpCould you try running:
rasa run -m model --enable-api -p 5000
Also, why aren’t you trying to connect to 0.0.0.0:5000
or localhost:5000
there?
1 Like
OK, but why is your postman request not sending traffic to localhost?
Cuz i am on a server with ip (3.135.192.201) and when i run this commande rasa run -m model\Update --enable-api -p 5000 rasa out put : Starting rasa on http://localhost:5000
if it is a remote server, couple of things is possible
- maybe your firewall is blocking incoming traffic on port 5000, try another port perhaps.
- It is possible that localhost is not bind to 0.0.0.0 in your /etc/hosts which is why localhost is not forwarded , although such things are usually mapped. i would recommend using nginx to safely forward http request to your server using a reverse proxy. even apache2
1 Like
Thank you so much