OpenEmr not working from a remost host

srini1975 wrote on Monday, September 14, 2009:

I installed opememr with xampp and it is working fine as a localhost. Then i tried to change the IP address in \apache\httpd.conf file to access the openemr website globally. But unfortunately i can’t browse the site. Please let me know is there any specific settings to do that.

ideaman911 wrote on Monday, September 14, 2009:

Just so I understand the question;  You have machine A configured using the Xampp-Windows setup on a machine on your LAN which works fine with Localhost (ie using that machine keyboard & mouse), but you want to access it from another machine on the LAN, B - Z?

Change all the settings you had back to those which worked for Localhost.  Then determine the IP of machine A.  For grins & giggles I will presume 192.168.1.5 is it.  If not, then the IP address I indicate must be replaced with the actual in the instruction below.  You must also assure that any machine you wish to use on your LAN can see that A machine on the LAN for file sharing, and is not blocked by Windows security or Firewall whether OpenEMR was there or not, or Windows Networking might be your problem.  Assuming you meet those criteria, the syntax for ANY LAN machine browser to access the OpenEMR login page will be:

http://192.168.1.5/openemr

and then of course they must login with their user info.  Hope that helps.

Joe Holzer    Idea Man
http://www.holzerent.com

srini1975 wrote on Monday, September 14, 2009:

yes you understand my situation, i am trying to access the openemr from another machine using the IP address of the host. As you mentioned i don’t have any firewall restriction or port blocking. Since it is not working , so i want to know is there any specific configuration setting in xampp apache or in php.

ideaman911 wrote on Monday, September 14, 2009:

Srini;

There is no configuration change in the machine A at all.  It must be set so you can access OpenEMR successfully from the browser on that A machine.  That will mean that you leave the Xampp open running both Apache and MySQL on the A machine.  Nothing else is needed on any other machine except a browser which can equally access that LAN (if machine A can see the internet on the LAN, and machine B can see the internet on that same LAN, as well as see machine A, then your machine B browser can run the OpenEMR on machine A).  You simply have to know its IP address.  When you enter that A machine IP address in another machine’s browser as http://192.168.1.5/openemr and press enter, it should bring the login page from machine A up.

The ONLY exception I am aware of is if your firewall is blocking something.  And be careful if you are using something like Symantec as well as Windows firewalls, as they may BOTH require clearing, so try disabling them both until you get connected, then turn each back on one at a time to see which is the problem and fix that.

Please verify and let me know that you have checked each of the issues note above.  Good luck.

Joe Holzer    Idea Man
http://www.holzerent.com

ideaman911 wrote on Monday, September 14, 2009:

Srini;

Can you access the C: drive on Machine A in file sharing?  If not, then you probably need to configure the A machine in Windows networking to allow that.  What OS are you using on each of the machines?

Joe Holzer    Idea Man
http://www.holzerent.com

srini1975 wrote on Monday, September 14, 2009:

Hi Joe,

yes you are right, i had a firewall problem in my server, now it’s working fine, thanks a lot

Hi Srini, can you share the problem with your firewall? i cant share my host in another pc. Thank you in advance

Hi Vincent. What do you use as a server? Windows, Linux. What is the command you use to docker start?.
Do you speak Spanish?

Hola Luis, si hablo español. Solo inicio los containers de docker para que funcione, el problema es que solo funciona como localhost, no puedo accesar desde otra maquina, uso windows en mi laptop servidor

Bueno. Supongo que tu laptop tiene una IP fija y que las otras máquinas están en la misma red. Verifica que el firewall del laptop no bloquee el puerto 80 o el que levantes con tu docker. Igual te aconsejo que trates de instalar xampp (servidor apache, php y mysql) en lugar de docker, es más facil de configurar.
Cualquier duda enviame un privado.
Suerte.
Saludos.
Luis.