It should usually work, check if any of the following is a problem:
- If there is anything attached to the 8080 port
- If you're using the correct IP
- The network security group which opened that port
- IIS setup is not interfering
It is usually a problem if any of the above is configured incorrectly.
Check this Microsoft Azure training out to get more insights on Azure!