Opened ports and still get error

hi, i have a problem, i opened ports so my friends can get to my localhost, but it says HTTP 404
please help ):