RE: Localhost: 8080 doesn't work

thumbnail
MARIA LOSACCO, modified 12 Years ago. New Member Posts: 8 Join Date: 1/16/14 Recent Posts
Hi guys! Need help!

I installed liferay bundled with tomcat, I executed startup.bat and a window opened with at the end a line with: Info: server startup in NNN ms.

But When it opens localhost:8080 it says it's been impossible to open the page.

I tried to disinstall life ray to start all over again, but when I try to eliminate the folder, it says it is not possible as the file is used by another program.

Any idea on what's the problem?

Thanks in advance for your time and help!
thumbnail
Ravi Kumar Gupta, modified 12 Years ago. Liferay Legend Posts: 1302 Join Date: 6/24/09 Recent Posts
Which version of Liferay you are using?
Did you notice any error when you try to open http://localhost:8080 in the browser?

If you are getting error that a file is in use.. then there is some process still running. Kill that process and delete. If you dont know how to.. then easiest one is to restart system and delete..
thumbnail
MARIA LOSACCO, modified 12 Years ago. New Member Posts: 8 Join Date: 1/16/14 Recent Posts
I'm using the 6.2 version.

The message I get is "impossible to connect to localhost:8080".

It is when I try to delete the liferay folder that I get the message "it's impossible to complete the operation as the folder is used in another program".

But from what I can see I don't have any other program running...
thumbnail
James Falkner, modified 12 Years ago. Liferay Legend Posts: 1399 Join Date: 9/17/10 Recent Posts
MARIA LOSACCO:
I'm using the 6.2 version.

The message I get is "impossible to connect to localhost:8080".

It is when I try to delete the liferay folder that I get the message "it's impossible to complete the operation as the folder is used in another program".

But from what I can see I don't have any other program running...


Hey Maria, check to see if there is a process called "Java" running. You can also reboot to stop the processes, though that's a last resort (as it always is on Windows emoticon )

Also, if localhost doesn't work, you may have a networking issue, so you can try http://127.0.0.1:8080

Finally, although there is a "Server startup in NNN seconds" is at the end, there may have been an error earlier in the process. IF possible, please attach the full file (from tomcat-xx.xx.xx/logs/catalina.out file) or look through the entire file to see if there were any other errors.
thumbnail
MARIA LOSACCO, modified 12 Years ago. New Member Posts: 8 Join Date: 1/16/14 Recent Posts
The http//:127.0.0.1:8080 works!

Thanks a lot! So what might be the problem? From now on I must use this one instead of localhost:8080, right?

Thanks again for your precious help!
thumbnail
Ravi Kumar Gupta, modified 12 Years ago. Liferay Legend Posts: 1302 Join Date: 6/24/09 Recent Posts
That's strange. Looks like something messed up at network settings of the system emoticon
thumbnail
meera prince, modified 12 Years ago. Liferay Legend Posts: 1111 Join Date: 2/8/11 Recent Posts
HI

Check your machine host file..

there you should have mapping like this

127.0.0.1 localhost

in windows the location of host file as follows

C:\Windows\System32\drivers\etc
thumbnail
James Falkner, modified 12 Years ago. Liferay Legend Posts: 1399 Join Date: 9/17/10 Recent Posts
meera prince:
HI

Check your machine host file..

there you should have mapping like this

127.0.0.1 localhost

in windows the location of host file as follows

C:\Windows\System32\drivers\etc


Yeah, Meera's right - and you'll want to make sure localhost works because the default virtual host is set to localhost, so some of the URLs generated by Liferay will have localhost in them, which won't work unless you resolve this issue. More info.