3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Rapache- What's up?

How would i go around fixing this so that it starts up?  If you look at the bottom of the screenshot it says, "Warning, cannot connect to server"  What server?  How could I fix this and what does in mean?

Screenshot-Rapache.png
19 comments
sort by: active | newest | oldest
Mar 22, 2010. 2:14 PMLoneWolf says:
rapache?
Mar 23, 2010. 9:35 AMLoneWolf says:
Oh ok. THanks for letting me know.
Mar 22, 2010. 3:41 PMNachoMahma says:
.  I suggest leaving the port set to the standard 80 - at least until you get the kinks worked out. Everything should work out-of-the-box - if necessary, re-install everything and work with the defaults.
Mar 22, 2010. 4:31 PMNachoMahma says:
.  How does your ISP route anything on your LAN? Especially on the same computer?
Mar 22, 2010. 5:21 PMNachoMahma says:
.  BTW, if your ISP is blocking port 80, there is a good chance your contract with them forbids running a web server that is remotely accessible. If they catch you, they can shut you off. :(
Mar 22, 2010. 5:18 PMNachoMahma says:
.  I still suggest that you get it running with the default 80. Once you can pull up a page by using http://192.168.0.1/ (or whatever your local IP is), then change to a different port and see if you can access the server remotely.
Mar 22, 2010. 5:19 PMNachoMahma says:
.  http://localhost/  may work.
Mar 23, 2010. 9:46 AMgmoon says:
Or http://127.0.0.1/ -- like NachoM I'm assuming you're running it locally (on the same machine.)

Question: Is the server actually running? (the "httpd" daemon?) You have to explicitly enable Linux to run a service...
Mar 23, 2010. 10:18 AMNachoMahma says:
> assuming you're running it locally
.  I was going by the "Document Root: /var/www" from the graphic in the OP. But there could be a Base URL setting somewhere.
.
.  Sounds like there's a good chance the server isn't running. I'm not very familiar with *nix; can you tell him how to find out if the server is actually running or not?
Mar 23, 2010. 11:13 AMgmoon says:
Try listing all the processes (best to do this as root; or use sudo):

ps -A

if httpd is running, it'll show up there.

"Document root" is on the host machine--the file location that will act as the http protocol root (http://). It's defined in that "default" file. That, and the other config filse indicate that the server should be listening on port 80.

Re: starting the service-- it will depend on the particular Linux variant. Might as well do it the easiest way possible... I'm not familiar with Rapache, but it does look as it can start/stop the server, and show the status.
Mar 24, 2010. 4:54 AMgmoon says:
Looks like the daemon is named "Apache2", so the server does appear to be running. I've always used the 1.X versions ("httpd"). But that's been removed from some distributions.

Are you trying to access the server from your local network (intranet) or outside your network over the larger internet?

I would definitely run with a static IP. How you set that up depends on the distribution you're running. In my experience home routers leave the range of IP addresses between 2-99 out of the pool, so you can use one of those.

There should be a relatively simple way to reconfigure to a static address (locally.) It won't effect your internet browsing, etc.

The IP will be something like this: 192.168.1.24 -- you will chose it manually (the actual net/subnet will depend on the router); a dynamic address will be more like 192.168.1.101

These are local network addresses only--unless you're paying extra for a static IP on the provider's network (but that static IP will be used in the router, not your local network.)

You can use a service like dyndns to create a usable URL for a dynamic IP address. A LARGE number of routers are setup to facilitate this, built-in.

But your service provider might be blocking port 80. Dyndns has some ways around that (some for $$.)
Mar 24, 2010. 6:15 AMgmoon says:
I've never used Rapache, so I don't know how mature or stable the app is. Nor do I know if there are any dependency issues on your machine.

But there's always other ways to start or stop a particular service...

You might try an alternative like webmin to administer Apache. Webmin is a set of scripts that you access via a browser.
Mar 22, 2010. 2:13 PMNachoMahma says:
.  Try starting your web server before starting the management app. You may have to tell the management app the IP address and port of your web server.

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!