Dynamic chart connection problem because my website is using different port than 80
I am trying to publish a webpage with dynamic web charts on a server that use the port 8081 (i.e mychartspage.asp). The problem is when the chart is trying to get the dynamic data from the query, it shows an error with the connection to the datasource. It seems to be a problem with the URL. I ran the same webpage in the same server changing the port to the default port (80) and it works fine.
I wonder if somebody could tell me what parameters I must change to fix this issue. Thank you.