In Compose ports do not work

It only works if port 80 is used but does not work if host ports are used !