Fórum

how to use the local machine's IP address insted of hitting localhost:8080

thumbnail
devaraj s, modificado 11 Anos atrás.

how to use the local machine's IP address insted of hitting localhost:8080

Regular Member Postagens: 228 Data de Entrada: 21/05/12 Postagens Recentes
Hi,,
For my requirement i need to start up liferay6.1 running behind existing Jboss 7.1.1 server by giving ip address of system like "https://192.168.2.1:9391" instead of "http://localhost:8080" . To achieve this where and how i want to configure in portal. If anyone one knows Please help me.

Thanks In advance..
thumbnail
Hitoshi Ozawa, modificado 11 Anos atrás.

RE: how to use the local machine's IP address insted of hitting localhost:

Liferay Legend Postagens: 7942 Data de Entrada: 24/03/10 Postagens Recentes
Just go to Control Panel -> Portal Settings and change localhost to your ip address.
thumbnail
devaraj s, modificado 11 Anos atrás.

RE: how to use the local machine's IP address insted of hitting localhost:

Regular Member Postagens: 228 Data de Entrada: 21/05/12 Postagens Recentes
Hi Hitoshi,,
Thats fine.. But I need to setup the ip address before only because in my jboss application server already two more applications are running by the url "https:192.168.2.1:9391/Appname". Now i need to deploy liferay in Root folder so I have followed the liferay document """"http://www.liferay.com/documentation/liferay-portal/6.1/user-guide/-/ai/installing-liferay-on-an-existing-application-server""""" and achieved deployment also but not able to login to the portal....


I think for this i have to use LDAP configuration in portal-ext.properties file.. But not getting anything.. please help me.

Thanks
thumbnail
Manish Yadav, modificado 11 Anos atrás.

RE: how to use the local machine's IP address insted of hitting localhost:

Expert Postagens: 493 Data de Entrada: 26/05/12 Postagens Recentes
try with this might be it will work


http://192.168.2.1:9391/web/guest/home
thumbnail
devaraj s, modificado 11 Anos atrás.

RE: how to use the local machine's IP address insted of hitting localhost:

Regular Member Postagens: 228 Data de Entrada: 21/05/12 Postagens Recentes
yes manish.. I also tried by hitting same url it loads liferay home page but not possible to login. Its simply loads..
thumbnail
Manish Yadav, modificado 11 Anos atrás.

RE: how to use the local machine's IP address insted of hitting localhost:

Expert Postagens: 493 Data de Entrada: 26/05/12 Postagens Recentes
What error message you are getting in console logs at time of login???
which db you are using hsql or mysql???
what username and password you are trying???
thumbnail
devaraj s, modificado 11 Anos atrás.

RE: how to use the local machine's IP address insted of hitting localhost:

Regular Member Postagens: 228 Data de Entrada: 21/05/12 Postagens Recentes
I am not getting any error message in console log. I am using default hsql database.
username: test@liferay.com
password: test

I have already running another j2ee application in the same jboss server by using mysql database , the url for this like "https://192.168.1.5:9391/appname" . I think https disturbing my liferay application because liferay.war by default runs on http . but not sure i am thinking on right way or no.

If so how to configure in liferay to start up by using "HTTPS".

thanks
Dirk Sühle, modificado 11 Anos atrás.

RE: how to use the local machine's IP address insted of hitting localhost:

New Member Postagens: 2 Data de Entrada: 04/07/12 Postagens Recentes
devaraj s:
I am not getting any error message in console log. I am using default hsql database.
username: test@liferay.com
password: test

I have already running another j2ee application in the same jboss server by using mysql database , the url for this like "https://192.168.1.5:9391/appname" . I think https disturbing my liferay application because liferay.war by default runs on http . but not sure i am thinking on right way or no.

If so how to configure in liferay to start up by using "HTTPS".

thanks


Try setting the following properties in file portal-ext.properties:

web.server.https.port=9391
web.server.protocol=https
web.server.host=192.168.1.5

and restart the server. With these entries, liferay should respond with the correct URLs.

Greetings
Dirk
thumbnail
devaraj s, modificado 11 Anos atrás.

RE: how to use the local machine's IP address insted of hitting localhost:

Regular Member Postagens: 228 Data de Entrada: 21/05/12 Postagens Recentes
I got the solution,
thanks to everyone for sharing Your knowledge.
thumbnail
Manish Yadav, modificado 11 Anos atrás.

RE: how to use the local machine's IP address insted of hitting localhost:

Expert Postagens: 493 Data de Entrada: 26/05/12 Postagens Recentes
devaraj s:
I got the solution,
thanks to everyone for sharing Your knowledge.



Could you let us know what is problem and how you resolved??????
thumbnail
devaraj s, modificado 11 Anos atrás.

RE: how to use the local machine's IP address insted of hitting localhost:

Regular Member Postagens: 228 Data de Entrada: 21/05/12 Postagens Recentes
Manish Yadav:
devaraj s:
I got the solution,
thanks to everyone for sharing Your knowledge.



Could you let us know what is problem and how you resolved??????



Hi manish,
My requirement was to run liferay using https and IP address of the server system. So i followed Dirk suggestion and get succeed .. and also In my system jdk1.6 was installed that was making trouble to run liferay so i updated jdk to 1.7 now its running perfectly.


Thanks
Taruchit Goyal, modificado 5 Anos atrás.

RE: how to use the local machine's IP address insted of hitting localhost:

Junior Member Postagens: 60 Data de Entrada: 16/03/18 Postagens Recentes
Hello Devraj,

I have a site on my machine. Using my machine's ip address can I access the site on another machine, when both machines are in same Intranet network?

Thanks
Taruchit Goyal
thumbnail
Jignesh Vachhani, modificado 11 Anos atrás.

RE: how to use the local machine's IP address insted of hitting localhost:

Liferay Master Postagens: 803 Data de Entrada: 10/03/08 Postagens Recentes
Do the virtual hosting by giving your IP address and if you want to change port, then you may have to make changes in server.xml file of tomcat.
thumbnail
Mahendra Mahakle, modificado 11 Anos atrás.

RE: how to use the local machine's IP address insted of hitting localhost:

Junior Member Postagens: 80 Data de Entrada: 14/03/11 Postagens Recentes
Hi Jignesh,

could you please tell me how to set/change virtual host without going to control panel.
I means to say is there any property to set/change the virtual host for my application through portal-ext.properties ,etc.

Thanks,
Mahendra
thumbnail
Jignesh Vachhani, modificado 11 Anos atrás.

RE: how to use the local machine's IP address insted of hitting localhost:

Liferay Master Postagens: 803 Data de Entrada: 10/03/08 Postagens Recentes
You can apply and check
web.server.host=192.168.1.101