How to enter 5001/webui on ec2?

Hello I entered ec2 terminal on ssh and set ipfs

and I can check compute.amazonaws.com:8080/ipfs/QmS4ustL54uo8FzR9455qaxZwuMiUhyvMcX9Ba8nUH4uVv

but not 5001/webui… I added inbound rule TCP 5001 ::/0 and 0.0.0.0/0
and when I type ipfs config show 5001 is exist

What is the problem? How to enter 5001/webui on browser?
I applied ipfs config Addresses.API /ip4/0.0.0.0/tcp/5001 but still not work