I would like to access the localhost in the browser of my phone
No, you don't. Although it is theoretically possible, it is most certainly not what you want.
What you want is to access your node.js application from your phone.
A network drawing will make this more clear.
localhost| | ...