How can I run Rasa installed on a Linux (ubuntu) server from a Windows computer

I installed Rasa as per the instructions here: https://chatbotslife.com/set-up-and-get-rasa-nluand-rasa-core-up-and-running-like-a-pro-part-2-b7663b2443c7

Now, how do I access/run the app from a Windows computer?

I can access the ubuntu server thru putty.

use ngrok to expose Ur server globally and then you can access that on Ur windows system thru the url that you will get in ngrok

OK, never used ngrok before, but I’ll google it and try

Greatly appreciated your quick response and I’ll let you know how it goes …

So, I installed ngrok and initiated it with “ngrok http 80” and got this: ngrok by @inconshreveable (Ctrl+C to quit)

Session Status online Session Expires 7 hours, 41 minutes Update update available (version 2.3.29, Ctrl-U to update) Version 2.3.27 Region United States (us) Web Interface http://127.0.0.1:4040 Forwarding http://05cdab6f.ngrok.iohttp://localhost:80 Forwarding https://05cdab6f.ngrok.iohttp://localhost:80

Connections ttl opn rt1 rt5 p50 p90 2 0 0.00 0.00 0.00 0.00

HTTP Requests

GET /favicon.ico 502 Bad Gateway GET /

But when I put this in my Windows 10 Chrome url: https://05cdab6f.ngrok.io/ I get this:

Failed to complete tunnel connection

The connection to https://05cdab6f.ngrok.io was successfully tunneled to your ngrok client, but the client failed to establish a connection to the local address localhost:80 .

Make sure that a web service is running on localhost:80 and that it is a valid address.

The error encountered was: dial tcp [::1]:80: connect: connection refused

What am I doing wrong or missing?

Thanx!

Appreciate your time and consideration!

Abraham Bruck +1 845-300-7970 skype: abraham.bruck

instead of using ngrok http 80 change the port number to Rasa server’s port number

Which is? or How can I find it?

Better yet: how do I start the rasa server on ubuntu?

Also, do I need to have apache web server running on either side?

Which is? or How can I find it?

Better yet: how do I start the rasa server on ubuntu?

Also, do I need to have apache web server running on either side?

Check out this docs:

Hi @abruck,

I would strongly recommend you to read this documentation:

in which you are able to read that rasa run accepts a flag -p where you could either specify the port yourself or take the default port which is 5005. If you are not sure which port is set, activate the debug mode with either --vv or --debug - then rasa is going to post its own port.

Basically there is no need to set up an apache server since rasa provides its own webserver. This may be relevant if you want to use rasa alongside with SSL secured connections which is currently not natively supported. You could then either use a proxy or allow your iptables to accept incoming requests to port 5005.

If you need help, feel free to ask.

I initially installed rasa from the instructions here: https://chatbotslife.com/set-up-and-get-rasa-nluand-rasa-core-up-and-running-like-a-pro-part-2-b7663b2443c7

But now, I’m stuck. any command I put in as “rasa …” gets me “rasa: command not found”

What can I do?

Perhaps if we connect on Skype or Zoom you can see what the issue is?

Greatly appreciated your time and consideration …

Just to be sure: you are currently operating under Linux or Windows?