Can't connect to container on localhost with port mapping

Thanks. it solved my problem.