# Change localhost:5000 to ipaddress:5000 in live VM server

**URL:** <https://forum.rasa.com/t/change-localhost-5000-to-ipaddress-5000-in-live-vm-server/49469>\
**Category:** Rasa Open Source\
**Created:** [November 24, 2021, 7:47am UTC](https://forum.rasa.com/t/change-localhost-5000-to-ipaddress-5000-in-live-vm-server/49469 "2021-11-24T07:47:17Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![CAkhil](https://avatars.discourse-cdn.com/v4/letter/c/f9ae1b/32.png) [@CAkhil](https://forum.rasa.com/u/CAkhil)\
**Post date:** [November 24, 2021, 7:47am UTC](https://forum.rasa.com/t/change-localhost-5000-to-ipaddress-5000-in-live-vm-server/49469/1 "2021-11-24T07:47:17Z")

</div>

Hi, I want to change the rasa server url from [http://localhost:5005](http://localhost:5005) to [http://ipaddress:5005](http://ipaddress:5005) so that my server is hosted globally not locally.

---

<div class="post-metadata">

**Author:** ![ChrisRahme](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/chrisrahme/32/15572_2.png) [@ChrisRahme](https://forum.rasa.com/u/ChrisRahme)\
**Post date:** [November 24, 2021, 8:40am UTC](https://forum.rasa.com/t/change-localhost-5000-to-ipaddress-5000-in-live-vm-server/49469/2 "2021-11-24T08:40:31Z")

</div>

Hi, you need to DNS and connect your server to the internet.

This question is not related to Rasa, you may find more info on websites like [StackOverflow](https://stackoverflow.com/) and [SuperUser](https://superuser.com/).

As long as your server is connected to to your device (via LAN, Internet, or other), you can access it via http://serveripaddress:5005.

To get your IP, run `ipconfig` on Windows Terminal or `ip addr show` on Linux (and maybe Mac) Shell.

---

<div class="post-metadata">

**Author:** ![CAkhil](https://avatars.discourse-cdn.com/v4/letter/c/f9ae1b/32.png) [@CAkhil](https://forum.rasa.com/u/CAkhil)\
**Post date:** [November 24, 2021, 8:43am UTC](https://forum.rasa.com/t/change-localhost-5000-to-ipaddress-5000-in-live-vm-server/49469/3 "2021-11-24T08:43:19Z")

</div>

@ChrisRahme Hi…I am trying to start rasa server at [http://172.19.172.132:5005](http://172.19.172.132:5005) instead of [http://localhost:5005](http://localhost:5005)…where do i need to configure this wrt rasa?

---

<div class="post-metadata">

**Author:** ![ChrisRahme](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/chrisrahme/32/15572_2.png) [@ChrisRahme](https://forum.rasa.com/u/ChrisRahme)\
**Post date:** [November 24, 2021, 8:43am UTC](https://forum.rasa.com/t/change-localhost-5000-to-ipaddress-5000-in-live-vm-server/49469/4 "2021-11-24T08:43:51Z")

</div>

Again, this is not related to Rasa. This is server stuff.

As long as your server is connected to to your device (via LAN, Internet, or other), you can access it via http://172.19.172.132:5005.

---

<div class="post-metadata">

**Author:** ![CAkhil](https://avatars.discourse-cdn.com/v4/letter/c/f9ae1b/32.png) [@CAkhil](https://forum.rasa.com/u/CAkhil)\
**Post date:** [November 24, 2021, 8:46am UTC](https://forum.rasa.com/t/change-localhost-5000-to-ipaddress-5000-in-live-vm-server/49469/5 "2021-11-24T08:46:17Z")

</div>

@ChrisRahme But when i run the command rasa run, it shows that the server is up and running at localhost:5005 whereas I trying to use ip address to connect it to webex channel it is not responding

---

<div class="post-metadata">

**Author:** ![CAkhil](https://avatars.discourse-cdn.com/v4/letter/c/f9ae1b/32.png) [@CAkhil](https://forum.rasa.com/u/CAkhil)\
**Post date:** [November 24, 2021, 9:03am UTC](https://forum.rasa.com/t/change-localhost-5000-to-ipaddress-5000-in-live-vm-server/49469/6 "2021-11-24T09:03:21Z")

</div>

@ChrisRahme Localhost ip address is 127.0.0.1 right?..so the server is at that ip address…but i want it at a different one

---

<div class="post-metadata">

**Author:** ![ChrisRahme](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/chrisrahme/32/15572_2.png) [@ChrisRahme](https://forum.rasa.com/u/ChrisRahme)\
**Post date:** [November 24, 2021, 9:17am UTC](https://forum.rasa.com/t/change-localhost-5000-to-ipaddress-5000-in-live-vm-server/49469/7 "2021-11-24T09:17:50Z")

</div>

> [@CAkhil](#):
>
> localhost:5005

Yes of course, but it still has an IP.

> [@ChrisRahme](#):
>
> To get your IP, run `ipconfig` on Windows Terminal or `ip addr show` on Linux (and maybe Mac) Shell.

* * *

> [@CAkhil](#):
>
> connect it to webex channel

Is your server available on the Internet or just LAN?

* * *

> [@CAkhil](#):
>
> Localhost ip address is 127.0.0.1 right?

Yes

* * *

> [@CAkhil](#):
>
> so the server is at that ip address

No. You can think as “127.0.0.1 is localhost” as “here is my home”.

Does that mean that everyone calls your home “my home” and say it is “here”? No, only you.

Only you (the server) would say “here is my home” (“127.0.0.1 is localhost”). But someone else (another device) would say “562 Sunset Drive is Akhil’s home” (“172.19.172.132 is Akhil’s server IP”).

If I enter 127.0.0.1 on my public server, it will take me to my public server. If I enter it on my private laptop, it will get me to my private laptop. If I enter 123.123.123.123 (example) anywhere, it will get me to my public server - **as long as the public server is, in fact, public, meaning available on the Internet**.

---

<div class="post-metadata">

**Author:** ![CAkhil](https://avatars.discourse-cdn.com/v4/letter/c/f9ae1b/32.png) [@CAkhil](https://forum.rasa.com/u/CAkhil)\
**Post date:** [November 24, 2021, 9:30am UTC](https://forum.rasa.com/t/change-localhost-5000-to-ipaddress-5000-in-live-vm-server/49469/8 "2021-11-24T09:30:28Z")

</div>

@ChrisRahme Yes it is on internet…I will check from server side if there is an issue…also how to change from http to https wrt localhost?

---

<div class="post-metadata">

**Author:** ![ChrisRahme](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/chrisrahme/32/15572_2.png) [@ChrisRahme](https://forum.rasa.com/u/ChrisRahme)\
**Post date:** [November 24, 2021, 9:32am UTC](https://forum.rasa.com/t/change-localhost-5000-to-ipaddress-5000-in-live-vm-server/49469/9 "2021-11-24T09:32:36Z")

</div>

You need an SSL certificate. How do you get one? No idea.

Again, I am not a server expert and this is unrelated to Rasa,

> [@ChrisRahme](#):
>
> you may find more info on websites like [StackOverflow](https://stackoverflow.com/) and [SuperUser](https://superuser.com/).

---

<div class="post-metadata">

**Author:** ![CAkhil](https://avatars.discourse-cdn.com/v4/letter/c/f9ae1b/32.png) [@CAkhil](https://forum.rasa.com/u/CAkhil)\
**Post date:** [November 24, 2021, 9:34am UTC](https://forum.rasa.com/t/change-localhost-5000-to-ipaddress-5000-in-live-vm-server/49469/10 "2021-11-24T09:34:17Z")

</div>

@ChrisRahme …Okay Thankyou so much for your help

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [November 24, 2021, 9:46am UTC](https://forum.rasa.com/t/change-localhost-5000-to-ipaddress-5000-in-live-vm-server/49469/11 "2021-11-24T09:46:23Z")

</div>

@CAkhil Hi, can you tell me what is your frontend?

---

<div class="post-metadata">

**Author:** ![CAkhil](https://avatars.discourse-cdn.com/v4/letter/c/f9ae1b/32.png) [@CAkhil](https://forum.rasa.com/u/CAkhil)\
**Post date:** [November 24, 2021, 11:18am UTC](https://forum.rasa.com/t/change-localhost-5000-to-ipaddress-5000-in-live-vm-server/49469/12 "2021-11-24T11:18:01Z")

</div>

@nik202 Hi, I am using the rasa bot in both msteams and webex channels.They both require global hosting to communicate with rasa bot

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [November 24, 2021, 11:23am UTC](https://forum.rasa.com/t/change-localhost-5000-to-ipaddress-5000-in-live-vm-server/49469/13 "2021-11-24T11:23:58Z")

</div>

@CAkhil Rasa bot? Not get you ?

---

<div class="post-metadata">

**Author:** ![CAkhil](https://avatars.discourse-cdn.com/v4/letter/c/f9ae1b/32.png) [@CAkhil](https://forum.rasa.com/u/CAkhil)\
**Post date:** [November 24, 2021, 11:26am UTC](https://forum.rasa.com/t/change-localhost-5000-to-ipaddress-5000-in-live-vm-server/49469/14 "2021-11-24T11:26:50Z")

</div>

@nik202 I am using webhook to communicate with my bot from msteams or webex, for which i need to globally host the server at which rasa is running(port 5005).Right now i am using ngrok but i want to use a VM server

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [November 24, 2021, 11:28am UTC](https://forum.rasa.com/t/change-localhost-5000-to-ipaddress-5000-in-live-vm-server/49469/15 "2021-11-24T11:28:24Z")

</div>

@CAkhil Is your bot is running on server or local machine?

---

<div class="post-metadata">

**Author:** ![CAkhil](https://avatars.discourse-cdn.com/v4/letter/c/f9ae1b/32.png) [@CAkhil](https://forum.rasa.com/u/CAkhil)\
**Post date:** [November 24, 2021, 11:30am UTC](https://forum.rasa.com/t/change-localhost-5000-to-ipaddress-5000-in-live-vm-server/49469/16 "2021-11-24T11:30:15Z")

</div>

@nik202 Right now it is running on my local machine…I want to run it on my VM which has its IP address with port 5005 on internet so that the bot will be up and running on msteams and webex without using ngrok

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [November 24, 2021, 11:32am UTC](https://forum.rasa.com/t/change-localhost-5000-to-ipaddress-5000-in-live-vm-server/49469/17 "2021-11-24T11:32:35Z")

</div>

@CAkhil for that you need to install rasa or rasa x on server machine, but on server ( rasa X if you are using run on port 80) and you also need a DNS as already suggested by Chris. While using local machine, you can not make a global deploy for end-user. The ngrok is the only available solution.

Because server runs 24/7 and local machine till your system is on.

---

<div class="post-metadata">

**Author:** ![CAkhil](https://avatars.discourse-cdn.com/v4/letter/c/f9ae1b/32.png) [@CAkhil](https://forum.rasa.com/u/CAkhil)\
**Post date:** [November 24, 2021, 11:38am UTC](https://forum.rasa.com/t/change-localhost-5000-to-ipaddress-5000-in-live-vm-server/49469/18 "2021-11-24T11:38:43Z")

</div>

@nik202 Yeah this is just for testing purposes with the team .So if i have already installed rasa on the server machine and the model , actions are ready and DNS is also available, what would be the steps?

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [November 24, 2021, 11:44am UTC](https://forum.rasa.com/t/change-localhost-5000-to-ipaddress-5000-in-live-vm-server/49469/19 "2021-11-24T11:44:10Z")

</div>

@CAkhil what is your output channels, just replace that will domain for example : [https://www.akhil.co.uk/webhooks/rest/webhook](https://www.akhil.co.uk/webhooks/rest/webhook) or just [https://www.akhil.co.uk](https://www.akhil.co.uk). you need to try, check the rasa master class video I guess 11 or 12.

---

<div class="post-metadata">

**Author:** ![CAkhil](https://avatars.discourse-cdn.com/v4/letter/c/f9ae1b/32.png) [@CAkhil](https://forum.rasa.com/u/CAkhil)\
**Post date:** [November 24, 2021, 12:12pm UTC](https://forum.rasa.com/t/change-localhost-5000-to-ipaddress-5000-in-live-vm-server/49469/20 "2021-11-24T12:12:10Z")

</div>

@nik202 My channels are webex and msteams …So if my server machine is up and running and is on the internet…i can use [http://ipaddress:5005](http://ipaddress:5005) for connecting with rasa server?

[Next page](https://forum.rasa.com/t/change-localhost-5000-to-ipaddress-5000-in-live-vm-server/49469.md?page=2)
