# Connecting Facebook using public ip

**URL:** <https://forum.rasa.com/t/connecting-facebook-using-public-ip/12520>\
**Category:** Rasa Open Source\
**Created:** [July 5, 2019, 6:21am UTC](https://forum.rasa.com/t/connecting-facebook-using-public-ip/12520 "2019-07-05T06:21:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![technophile\_2507](https://avatars.discourse-cdn.com/v4/letter/t/e9c0ed/32.png) [@technophile\_2507](https://forum.rasa.com/u/technophile_2507)\
**Post date:** [July 5, 2019, 6:21am UTC](https://forum.rasa.com/t/connecting-facebook-using-public-ip/12520/1 "2019-07-05T06:21:04Z")

</div>

Hello everyone, I hosted rasa bot in a amazon virtual machine, and I do have a public ip. I can use it using rasa webchat interface in my company website. Now I am trying to connect my bot with facebook messenger, but when I provide the callbackurl it using the vm ip it shows the following error and i cannot verify and save the url. The error is highlighted using green box. Please help me to do this. Thank you so much in advance.

 ![MicrosoftTeams-image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/4/44bd42e3cf77180ec8f2889972d484519b637896.png)

---

<div class="post-metadata">

**Author:** ![amn41](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/amn41/32/20_2.png) [@amn41](https://forum.rasa.com/u/amn41)\
**Post date:** [July 7, 2019, 3:14pm UTC](https://forum.rasa.com/t/connecting-facebook-using-public-ip/12520/2 "2019-07-07T15:14:17Z")

</div>

@technophile_2507 my guess is that facebook won’t want to send messages to an IP address. You’ll have to set up DNS (with SSL) so facebook can send requests to a proper domain name

---

<div class="post-metadata">

**Author:** ![technophile\_2507](https://avatars.discourse-cdn.com/v4/letter/t/e9c0ed/32.png) [@technophile\_2507](https://forum.rasa.com/u/technophile_2507)\
**Post date:** [July 11, 2019, 11:54am UTC](https://forum.rasa.com/t/connecting-facebook-using-public-ip/12520/3 "2019-07-11T11:54:38Z")

</div>

Thank you so much @amn41. happy to get a reply from the founder of Rasa project.

---

<div class="post-metadata">

**Author:** ![amn41](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/amn41/32/20_2.png) [@amn41](https://forum.rasa.com/u/amn41)\
**Post date:** [July 11, 2019, 4:34pm UTC](https://forum.rasa.com/t/connecting-facebook-using-public-ip/12520/4 "2019-07-11T16:34:06Z")

</div>

you’ve very welcome! keep building awesome stuff 😄
