Ok, I’ll do my best to elaborate 
I have so far managed to install Rasa X onto a Multipass Ubuntu instance, and it appears to be working correctly, as I can reach the Rasa X GUI on my web browser. I also have a Rasa Open Source bot running on my Windows laptop (same laptop on which Multipass is running). I have exposed the RabittMQ port by following the instructions given on the link I posted on my original post, having also updated my endpoints.yml accordingly.
The problem starts when I run “rasa shell” and send a message to my bot. After a few seconds of waiting, I get the following:
2021-09-16 11:12:13 ERROR asyncio - Task exception was never retrieved
future: <Task finished name='Task-2' coro=<configure_app.<locals>.run_cmdline_io() done, defined at c:\tools\anaconda3\envs\rasa\lib\site-packages\rasa\core\run.py
:131> exception=ClientConnectorError(ConnectionKey(host='localhost', port=5005, is_ssl=False, ssl=None, proxy=None, proxy_auth=None, proxy_headers_hash=None), Conn
ectionRefusedError(22, 'The remote computer refused the network connection', None, 1225, None))>
Traceback (most recent call last):
File "c:\tools\anaconda3\envs\rasa\lib\site-packages\aiohttp\connector.py", line 969, in _wrap_create_connection
return await self._loop.create_connection(*args, **kwargs) # type: ignore # noqa
File "c:\tools\anaconda3\envs\rasa\lib\asyncio\base_events.py", line 1025, in create_connection
raise exceptions[0]
File "c:\tools\anaconda3\envs\rasa\lib\asyncio\base_events.py", line 1010, in create_connection
sock = await self._connect_sock(
File "c:\tools\anaconda3\envs\rasa\lib\asyncio\base_events.py", line 924, in _connect_sock
await self.sock_connect(sock, address)
File "c:\tools\anaconda3\envs\rasa\lib\asyncio\proactor_events.py", line 702, in sock_connect
return await self._proactor.connect(sock, address)
File "c:\tools\anaconda3\envs\rasa\lib\asyncio\windows_events.py", line 812, in _poll
value = callback(transferred, key, ov)
File "c:\tools\anaconda3\envs\rasa\lib\asyncio\windows_events.py", line 599, in finish_connect
ov.getresult()
ConnectionRefusedError: [WinError 1225] The remote computer refused the network connection
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "c:\tools\anaconda3\envs\rasa\lib\site-packages\rasa\core\run.py", line 135, in run_cmdline_io
await console.record_messages(
File "c:\tools\anaconda3\envs\rasa\lib\site-packages\rasa\core\channels\console.py", line 182, in record_messages
async for response in bot_responses:
File "c:\tools\anaconda3\envs\rasa\lib\site-packages\rasa\core\channels\console.py", line 135, in _send_message_receive_stream
async with session.post(url, json=payload, raise_for_status=True) as resp:
File "c:\tools\anaconda3\envs\rasa\lib\site-packages\aiohttp\client.py", line 1117, in __aenter__
self._resp = await self._coro
File "c:\tools\anaconda3\envs\rasa\lib\site-packages\aiohttp\client.py", line 520, in _request
conn = await self._connector.connect(
File "c:\tools\anaconda3\envs\rasa\lib\site-packages\aiohttp\connector.py", line 535, in connect
proto = await self._create_connection(req, traces, timeout)
File "c:\tools\anaconda3\envs\rasa\lib\site-packages\aiohttp\connector.py", line 892, in _create_connection
_, proto = await self._create_direct_connection(req, traces, timeout)
File "c:\tools\anaconda3\envs\rasa\lib\site-packages\aiohttp\connector.py", line 1051, in _create_direct_connection
raise last_exc
File "c:\tools\anaconda3\envs\rasa\lib\site-packages\aiohttp\connector.py", line 1020, in _create_direct_connection
transp, proto = await self._wrap_create_connection(
File "c:\tools\anaconda3\envs\rasa\lib\site-packages\aiohttp\connector.py", line 975, in _wrap_create_connection
raise client_error(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host localhost:5005 ssl:default [The remote computer refused the network connection]
Experienced exception while trying to serve