Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Answered

Business Cnetral web client is not opening via VS Code

(0) ShareShare
ReportReport
Posted on by 241

Hello Experts, 

How are you all? Hope you're all doing well. 

After creating a package (Ctrl + Shift + B), when I press Ctrl + F5 to run the code, Visual studio is not opening business central web client. Before now, it was working fine, Suddenly It stopped working.  BC Server configurations are also fine. I've restarted both PC and BC Server for many times.

erroOor.jpg

Second, I'm able to open web client using this url directly into the browser http://localhost:8080/BC150/.

8814.err2.jpg

Can anyone please help me to get rid of this issue?

Answers will be highly appreciated. Thank you.

  • Verified answer
    YUN ZHU Profile Picture
    YUN ZHU 77,294 Super User 2025 Season 1 on at
    RE: Business Cnetral web client is not opening via VS Code

    Hi, Select the debug option and enter Web Client Base URL in Business Central Administrator.

    Restart the instance and VS code, then try again. 

    pastedimage1639098949808v1.png

    pastedimage1639099008889v2.png

    Hope this will help.

    Thanks.

    ZHU

  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 995 Super User 2024 Season 1 on at
    RE: Business Cnetral web client is not opening via VS Code

    Have you tried to change your launch.json to use the actual servername instead of loacalhost?

    I have seen that localhost in some network settings does not work as expected in every sense.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,187 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,966 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans