Virtual host set to localhost

thumbnail
5148164, modified 15 Years ago. Junior Member Posts: 26 Join Date: 6/23/10 Recent Posts
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.
5938425, modified 15 Years ago. New Member Posts: 2 Join Date: 9/21/10 Recent Posts
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.