Access from out site of server

Do I need access to collabora service out the site of the server if I use nextCloud on the local net and over the internet?

My previous question was maybe a little bit stupid. There is the main idea of my issue. I have nextCloud. I can get into directly locally and when Iā€™m outside of my local net. Then I change the address from local to the one which I have on the domain server. And now Collabora, locally I have on my local user computer ā€¦/hosts with names for nextCloud and for Collabora (the same address IP as nextCloud), and locally its works. Of course, when Iā€™m outside of my local net, Collabora can connect. Is there some solution to this issue or I made some understanding?