Fórum
Virtual host set to localhost
satyanarayana kolliboyin, modificado 13 Anos atrás.
Virtual host set to localhost
Junior Member Postagens: 26 Data de Entrada: 23/06/10 Postagens Recentes
Hi,
I'm modifying the existed liferay project.
I took Database sql file from Development server.
I imported into my local system.
Then, when I entered this URL : http://localhost:8082 it redirects to System Error page.
To solve this problem, I updated virtualHost column value to localhost in company table of liferay.
Now, This URL is working http://localhost:8082. But this URL is not working http://192.168.0.53:8082
Here, 192.168.0.53 is my system IP.
Please, suggest me to solve this problem.
I'm modifying the existed liferay project.
I took Database sql file from Development server.
I imported into my local system.
Then, when I entered this URL : http://localhost:8082 it redirects to System Error page.
To solve this problem, I updated virtualHost column value to localhost in company table of liferay.
Now, This URL is working http://localhost:8082. But this URL is not working http://192.168.0.53:8082
Here, 192.168.0.53 is my system IP.
Please, suggest me to solve this problem.
swathi kumar, modificado 13 Anos atrás.
RE: Virtual host set to localhost
New Member Postagens: 2 Data de Entrada: 21/09/10 Postagens Recentes
You need to bind the server to IP Address.
For example if you are using JBoss then the run command at command prompt is as below.
run.bat -Djboss.bind.address=xxx.xxx.xxx.xxx
If you give IP address as 0.0.0.0 then it works for localhost as well.
Please let me know whether this fix is resolved or not.
For example if you are using JBoss then the run command at command prompt is as below.
run.bat -Djboss.bind.address=xxx.xxx.xxx.xxx
If you give IP address as 0.0.0.0 then it works for localhost as well.
Please let me know whether this fix is resolved or not.