Jump to content



Welcome to AstaHost - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!

Toggle shoutbox Shoutbox Open the Shoutbox in a popup

@  yordan : (16 June 2013 - 05:41 PM) You're Welcome, Agyat!
@  agyat : (16 June 2013 - 07:38 AM) Thanks Yordan...
@  velma : (16 June 2013 - 12:06 AM) I Have Asked Opa To Check For A Backup.. He'll Let Me Know Soon :)
@  velma : (16 June 2013 - 12:05 AM) T_T It Seems That Someone Has Deleted That Topic Since I Found The Url Of The Topic But It Gives Me An Error
@  yordan : (15 June 2013 - 10:31 PM) @velma : It's A Tuto On How To Create A Login Program.
@  yordan : (15 June 2013 - 10:31 PM) Happy Birthday To Youuuuuu Agyat!
@  yordan : (15 June 2013 - 10:31 PM) Ba$
@  agyat : (15 June 2013 - 04:41 PM) :(
@  agyat : (15 June 2013 - 04:41 PM) Where The Hall I Were? 15Th Is Almost At End And No-One Wished Me "happy Birthday"!!!
@  velma : (14 June 2013 - 10:39 AM) Which Tutorial Is He Searching For?
@  velma : (14 June 2013 - 10:38 AM) Which Tutorial Is He Searching For?
@  yordan : (14 June 2013 - 07:47 AM) Ok, Have A Look Tomorrow.
@  yordan : (13 June 2013 - 03:19 PM) @velma, Can You Have A Look At Feelay's Problem? Seems That His Tutorial Is Not Searchable Today.
@  Feelay : (13 June 2013 - 08:11 AM) Oh, Haha
@  velma : (12 June 2013 - 05:39 PM) T_T Lately My Levels Of Procrastination..... **sigh**
@  velma : (12 June 2013 - 05:38 PM) I'll Do It Later
@  velma : (12 June 2013 - 05:38 PM) Procrastinators.. People Who Keep Saying "i'll Do This In A Bit"
@  Feelay : (12 June 2013 - 02:05 PM) Deal Punishments To What?
@  velma : (12 June 2013 - 01:27 PM) T_T We Should Deal Punishments To Procrastinators... Especially Me
@  Feelay : (12 June 2013 - 12:06 PM) As Well As Making It More Secure.

Replying to Smf - Simple Setup Questions


Post Options

    • Can't make it out? Click here to generate a new image

  or Cancel


Topic Summary

Posted 06 April 2008 - 09:16 AM

How Can Run Wamp Server as a WebServer
Smf - Simple Setup Questions

Hi.
How Can Run wamp as webserver
I have a problem with "put online"
No one can access my localhost in our intranet
I changed port 80 to 8080 and
Can access my local web server in this way: localhost:8080
But others cant

Please help me


-reply by Mr.RD

altimit

Posted 05 January 2008 - 12:15 PM

I see; that's quite interesting.

Are you able to ping your server from your coworker's computer? You would need to open a Command Prompt on your coworker's box, and enter:

ping xxx.xxx.xxx.xxx

Don't forget to replace the "xxx.xxx.xxx.xxx" with your IP address!

The result should be something like:

E:\>ping 192.168.1.1

Pinging 192.168.1.1 with 32 bytes of data:

Reply from 192.168.1.1: bytes=32 time<1ms TTL=128
Reply from 192.168.1.1: bytes=32 time<1ms TTL=128
Reply from 192.168.1.1: bytes=32 time<1ms TTL=128
Reply from 192.168.1.1: bytes=32 time<1ms TTL=128

Ping statistics for 192.168.1.1:
	Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
	Minimum = 0ms, Maximum = 0ms, Average = 0ms

E:\>

You'll see here that the machine I'm pinging (192.168.1.1) is answering back correctly and there's no problem with the connection. In your case, this should return something similar (most important is the "0% loss" message) as you are in an intranet, and packet loss is a very rare occurence.

After this, make sure that if your machine has a firewall active (remember that Windows has a built-in firewall), set it so that incoming connections to your HTTP port (80) is allowed. A quick test to see if it's your firewall that is blocking the connections would be by temporarily turning the firewall off and attempting to access your server from your coworker's PC.

Please do update if there's any development.

Grafitti

Posted 04 January 2008 - 09:32 AM

The server is online... I left everything at the defaults --
Apache running on port 80
MySQL running on port 3306

The error I get from other machines is the typical "page not found" browser error.

My httpd.conf file is already set to "allow from all"

I think it might have changed now from a SMF install problem (my ignorance) to a networking problem (cause?) ^_^

altimit

Posted 04 January 2008 - 07:21 AM

Hi,

I'm very glad you set it up successfully. May you kindly post what exact error you are getting from the other machines?

My hunch is that your WAMPserver configured Apache for local access only. Did you put the server online already? This can be done by left clicking the WAMPserver tray icon, then put it online.

You may also opt to edit the httpd.conf file to always allow access; look for a line saying "Allow from 127.0.0.1" and kindly change that to "Allow from all".

Don't forget to restart the HTTP service!

If you're interested, 127.0.0.1 is (like "localhost"), you loopback address. It will always point to the system it is on. "Allow from 127.0.0.1" essentially means, then, to only allow connections from yourself. "all" in "Allow from all" is a special keyword that tells Apache that it's all right to let others access the server.

Did that do the trick?

Grafitti

Posted 03 January 2008 - 10:54 AM

Yes, you're right, I had used the wrong path to the file. Now it works fine, and the forum is set up.

How though am I supposed to get to the forum from a networked computer? Let's assume that my machine running this forum has an IP of 192.168.0.1 and has Simple File Sharing enabled.

I'm able to access it through <http://localhost>
but not through <http://192.168.2.99> (my IP address)
on my own computer

Trying to access it through another computer on the network, I also get an error, trying both <http://192.168.2.99> and <http://server/>
I've opened port 80, but no luck so far.

altimit

Posted 03 January 2008 - 07:04 AM

Hi,

It looks like you are accessing the files itself, and not via Apache. Remember that with WAMPserver, you now have an actual web server, hence to access it, you use your IP address or machine name (i.e., <http://xxx.xxx.xxx.xxx/> or <http://computername/>). You may also use <http://localhost/> for testing locally, but this address always points to the computer it is on---your coworkers cannot use this to connect to your server.

Kindly follow the post-setup instructions for WAMPserver; there should be a section there on how to verify that your installation is successful.

Don't lose hope!

Grafitti

Posted 03 January 2008 - 06:33 AM

I installed Wampserver, and then extracted the SMF package to C:/SMF

so Apache, MySQL, and PHP are all running, according to Wampserver.
But when I type the address for installing SMF,

file:///c:/SMF/install.php

it gives me an error saying "Sorry, this installer requires PHP!"

why?

altimit

Posted 02 January 2008 - 07:05 AM

Hey Grafitti,

Anytime, man. Yup, more specifically, by Web Server I meant Apache, and MySQL for the database. Excuse me for the confusion. Installing the applications separately is not really that difficult; each program has very detailed installation and configuration instructions to get you up and running in no time. This, for me, is the biggest advantage over prepackaged ones---you're the one setting the configuration, hence you know precisely how it is set-up. Prepackaged collections like XAMPP gets you in the action fast and easy, using configuration the creator has chosen (most likely for the reasons that it is the most desirable set-up over a wide range of users).

Don't let this pressure you though; if all you really need is a working system, and you're very sure that all access is limited to your intranet, then by all means use a prepackaged collection. It will save you a lot of time and effort. =D

And finally, yes, XAMPP (and hence the applications it has bundled---Apache, MySQL, and PHP) has versions for a multitude of operating systems, including Windows XP.

Have fun!

Grafitti

Posted 02 January 2008 - 06:07 AM

Yes, it does. Thanks. Let me get a couple things clear though. When you say "web server & database" you're talking like IIS or Apache, and MySQL?
Or are you referring to something different?
Then if I were to install the different applications separately, would I run into more problems than if i were to use a prepackaged collection?

Also: You didn't say if it will run on XP, or if I need to use a server version. ?
Thanks!

altimit

Posted 02 January 2008 - 05:19 AM

Hi Grafitti,

You would first need to get a web server and database back-end up and running for your Windows machine. Prepackaged collections like XAMPP and WAMPserver might be good for rapid set-up, but if you have the time and is willing to learn, I strongly suggest you install the actual required software instead (i.e., Apache, PHP, and MySQL). Not only this allows you flexibility in the versions you want to install, but it is also a very enlightening experience where you can learn many things. You also become self-reliant; if there is a problem, you can fix it yourself and not depend on whoever made the package for you.

After this is set-up and is successfully running, you may install SMF. The URL would be your IP Address; your coworkers can access your server by going to, say, <http://xxx.xxx.xxx.xxx/>. You can also use the box's computer name instead of the IP, that might be better since it is easier to remember.

Hope it helps.

Review the complete topic (launches new window)