# I can publish the php app and when i try to preview it gives error

**URL:** <https://forum.radsystems.io/t/i-can-publish-the-php-app-and-when-i-try-to-preview-it-gives-error/2037>\
**Category:** Questions\
**Created:** [March 24, 2024, 4:15am UTC](https://forum.radsystems.io/t/i-can-publish-the-php-app-and-when-i-try-to-preview-it-gives-error/2037 "2024-03-24T04:15:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![robdelriv](https://forum.radsystems.io/letter_avatar_proxy/v4/letter/r/5f8ce5/32.png) [@robdelriv](https://forum.radsystems.io/u/robdelriv)\
**Post date:** [March 24, 2024, 4:15am UTC](https://forum.radsystems.io/t/i-can-publish-the-php-app-and-when-i-try-to-preview-it-gives-error/2037/1 "2024-03-24T04:15:19Z")

</div>

I have installed laragon and follow all instruction but still get the same error when preview: **localhost** refused to connect.

Can someone help

---

<div class="post-metadata">

**Author:** ![liagna123](https://forum.radsystems.io/letter_avatar_proxy/v4/letter/l/3d9bf3/32.png) [@liagna123](https://forum.radsystems.io/u/liagna123)\
**Post date:** [March 24, 2024, 10:27am UTC](https://forum.radsystems.io/t/i-can-publish-the-php-app-and-when-i-try-to-preview-it-gives-error/2037/2 "2024-03-24T10:27:10Z")

</div>

check the ports of your localhost bro
