Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
bfialkoff
Frequent Visitor

Custom visual hosting

I recently discovered that the the code that builds my custom visual on the powerbi cloud service isn't hosted locally. In retrospect this makes sense, but I'm confused as to what is actually happening since upon running 'pbiviz start' I get the message "Server listening on port 8080" I took this to mean that I was hosting the visual. So what is actually happening here behind the scenes?

 

The reason this came up is because I am trying to arrange for an HTTP request to be made from the visuals code, and it was querying localhost, but since the report is being hosted by powerbi it wouldn't work since powerbi can't query my local host. This seems to make development rather complicated....

 

Any insights? Answers? Ideas? 

 

1 REPLY 1
v-viig
Community Champion
Community Champion

PBIVIZ start hosts Dev Server on local machine to allow PBI to load JS and CSS for testing and development.

 

To allow queries you should start another HTTP server with valid HTTPS certificate and CORS settings.

 

Ignat Vilesov,

Software Engineer

 

Microsoft Power BI Custom Visuals

pbicvsupport@microsoft.com

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.