Can't share my localhost/openemr from my docker compose, any ideas to solve these?

Situation
My localhost works great, but i need to share my openemr with other computer in the same clinic, my aplication was installed via docker.
I’m tried to share via my IP/openemr

OpenEMR Version
I’m using OpenEMR version 7.0.0

Browser:
I’m using: Firefox

Operating System
I’m using: Windows 11

Logs
Did you check the logs?
Was there anything pertinent in them?
Please paste them here (surround with three backticks (```) for readability.
You can also turn on User Debugging under Administration->Globals->Logging User Debugging Options=>All

Might be a Windows Firewall issue? You will want to make sure that your IP is what you think it is, and that they’re connecting to the right port (if you’re not on :80 and :443), and that Windows is going to let connections from foreign users through to those ports.

1 Like

Thank you for the support, the server IP was taken from: terminal->ipconfig and i select IPv4.
In the server i make a new rule with:
control panel->system and security->firewall->advanced configuration->entry rule->new rule->port->specify 80 and create new rule.
However, this process is needed for both ports 80 and 443?
and do i need for both entry and exit rules?
and finaly, the other laptop requires the sames rules to open localhost?
Thank you in advance.

If the Windows firewall is the issue, then yes, you’d want entry rules for 80 and 443. You’re configuring the server, not the clients, so exit rules on the server machine (and any rules on the client machines) aren’t relevant.

Note that I don’t guarantee Windows firewall /is/ the issue here, that’s just my only guess if you’re using the docker-compose we provide and you’ve verified the containers are actually running.

Thank you, all the containers works well, however, when i check if the port 80 and 443 are listening, both ports listening PID 11504, the process for this PID is com.docker.backend.exe, do you think this can be the problem?

No, that’s what I’d expect, the Docker service listening on the ports Docker wants to expose to its guest containers.