How to "rasa run" on https://localhost:5005

Hello Team,

Sorry if this is redundant, I tried searching this in forum and github. Couldn’t find solution.

I was referring below blog

I was able to connect to another machine using ngrok and was able to run the model using aimybox app in android studio.

Now, for testing purpose, I need to run “rasa run” command such that rasa server starts on localhost https

The reason is Aimybox api do not allow localhost http

I can run ngrok command to map it to my localhost port but due to some reason I want to avoid it.

Please let me know if we can do this?

Hi Pankaj,

If I understand your requirements correctly, you can’t use ngrok but you want to run Rasa on localhost and have it accessible on the internet.

You could open a port on your firewall to forward it to the Rasa port 5005 and point Amybox at your external IP address. If your external IP changes, you would have to update the IP. You could do the same with DynDNS to avoid the IP address change.

Greg

Thanks Stephens. Let me try this.

Hi @dhapolapankaj, I create a Medium tutorial you can try to implement it.

I hope it helps

1 Like