Foren

Virtual host set to localhost

thumbnail
satyanarayana kolliboyin, geändert vor 13 Jahren.

Virtual host set to localhost

Junior Member Beiträge: 26 Beitrittsdatum: 23.06.10 Neueste Beiträge
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.
swathi kumar, geändert vor 13 Jahren.

RE: Virtual host set to localhost

New Member Beiträge: 2 Beitrittsdatum: 21.09.10 Neueste Beiträge
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.