Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've been all through the FAQs and docs... But nothing it suggests to do
helps me connect to the //localhost:8080. All I get is a popup window
saying "The connection was refused when attempting to contact
localhost:8080."
This sounds like a firewall issue. It would help if you show the distro you are using. But basically the port is beling blocked by either your firewall or your router. That is where I would look.
There are many reasons that lead to your problem. I m listing some of the checks that should be done.
1. Make sure that your apache is running and listenning on the port 8080... or some other port
check by giving 'apachectl -V' command .... Tells whether apache runs and the Apache Config file path also...
Check for the Listen directive in httpd.conf file
Something like this must be there
Listen <some ip address>:80
Make it to listen in port 8080 as you require it
2.check the apache configuration is alright or not(syntax) by giving apachectl -t command
3. restart apache server
Suse 9.3 is the distro.
Are you trying to connect to http://localhost:8080 from the same computer on which the server is running? If not, you have to either forward the port on your router as well as on the system-integrated firewall and give your external IP adress (to connect from Internet), or forward the port on the system firewall (possibly on the router, depends on the latter)and give your internal network IP adress (for intranet connection).
In that case, check that you haven't changed the hostname, or simply try to connect to http://127.0.0.1:8080 (the loopback interface). If that doesn't work, really check your firewall settings (can't help with that since I don't use Suse), if it still doesn't work, check that your server is running (don't know how to do that; should be explained in the server's documentation).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.