Log URL's not working

how do i check the logs for launched Oozie job

I tried the following Url given from oozie -info of its action:
http://ip-172-31-35-141.ec2.internal:8088/proxy/application_1545335729280_2735/

I also tried the Oozie web UI from ambari quick links:
http://ec2-18-210-21-133.compute-1.amazonaws.com:11000/oozie?user.name=studentlogin20204631

I also tried Yarn RM UI from quick links:
http://ec2-18-213-166-113.compute-1.amazonaws.com:8088/

Neither of them are reachable. Give me error:
This site can’t be reached

I need to see the logs. Please show me how can i see them?

I was also facing similar issue. I’ve submitted a MR job. It got executed. But, when I want to check it’s logs, the given URL is not working.
The following is the URL where I checked
http://ip-172-31-35-141.ec2.internal:8088/proxy/application_1547862802432_0974/

Please help me on this.

Thanks,
Satya