Did some more testing. I can now go in both directions through the portals but:
Portal 1: Overworld (-115, 65, -255)
Expected Nether (-13, 33,-31)
Actual Nether position (-31, 56, -38) Which is the position of Portal 3 in the overworld
Also, there was an old portal I had forgotten which was there when the world was created
Portal 0: Overworld (125, 73, -273)
Nether (15, 84, -34) This was creating automatically, I didn't modify anything.
and I did' a test creating a new portal at a safe distance from the others, and going through it to see where it take me and:
Portal 5: Overworld (40, 64, -63)
Nether (15, 84, -34) The same as Portal 0. So, the game didn't generate a portal in the nether, but it synchronized with one far away.
For the Y coordinate, I moved the portals to the same level in the nether.
All the portals take me to the expected nether location when I enter from the overworld. But I can't go back. When I stand in the portal nothing happens.
Also, the coordinates were taken from the same block inside de portal.
Another thing, sometimes when I first build a portal in the overworld, when I stand inside nothing happens. That is part of the reason why I decided to use another portal that did work, to build the portals directly in the Nether.
Portal 1: Overworld (-115, 65, -255)
Expected Nether (-13, 33,-31)
Portal 2: Overworld (-257, 88, -447)
Expected Nether (-33, 56,-56)
Portal 3: Overworld (-252, 66, -310)
Expected Nether (-31, 56,-39)
Portal 4: Overworld (-251, 71, -164)
Expected Nether (-32, 56,-21)
It’s happening to me to I play I on PlayStation
Okay. Thank you. I will fix that
Although, why is the distance that a portal looks for another one so far away? Is the same in Java?