Sample of using an alternate port

If you have a separate application pool for Web Reports, add the port number (e.g., 8080) to the aspx path.

Workflow.ShellAPI("http://localhost/FsWebReports/Launch.aspx:8080?
p1=FSWB_Formula.xml&p2=FORMULA&p3=pdf&p4=" & sFilePath &
"Source\Formula_Report.rpt&p5=c:\temp\MyReport.pdf")

Make sure this port number matches the value in the File Location for WEB REPORTS URL.