duncanb7
asked on
localhost for two web server on window 7
Dear Experts,
After installed XAMPP on window, I can run web server, for example, on browser address bar,type "localhost", xampp index page will come out.
Today, I installed IIS for asp, now I also work when I type "localhost" , it will go to IIS index page.
But now, xampp is not enabled even I type its port such as localhost:8080
Any issue ? I believe IIS may be not at 8080 so that it should be okay to run two web server
on the same computer if the ports are different , right ?
Duncan
After installed XAMPP on window, I can run web server, for example, on browser address bar,type "localhost", xampp index page will come out.
Today, I installed IIS for asp, now I also work when I type "localhost" , it will go to IIS index page.
But now, xampp is not enabled even I type its port such as localhost:8080
Any issue ? I believe IIS may be not at 8080 so that it should be okay to run two web server
on the same computer if the ports are different , right ?
Duncan
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
since I need to answer some classic asp and xampp question in EE, any alternative suggested ?
you mean php script can run on IIS on window, right ?
Duncan
you mean php script can run on IIS on window, right ?
Duncan
ASKER
Great work and fast,thanks for your reply
IIS is using 80 and I set 80 also for xampp so now it is fixed to 80 and 8001
Last question,php script can run on IIS web server on window, right ?
Duncan
IIS is using 80 and I set 80 also for xampp so now it is fixed to 80 and 8001
Last question,php script can run on IIS web server on window, right ?
Duncan
yes it does.
http://windows.php.net/
http://windows.php.net/
ASKER
it is good link and answer and the points has been graded before your post
Thanks, ambatihp
Duncan
Thanks, ambatihp
Duncan
Download virtual box and install a linux GUI like Centos
Try this out
stop IIS,
start xampp
open command prompt with elevated permissions and type netstat -ab look for the ports its running, if its 80, then your configs are not correct.
If you see it on 80 then
Stop the XAMPP server, if it is running already.
Open the file [XAMPP Installation Folder]/apache/conf/httpd.
Now search for the string Listen 80 (I'm assuming that your XAMPP was using the port 80. Otherwise, just search for the string 'Listen'). This is the port number which XAMPP uses. Change this 80 to any other number which you prefer
Then search for the string ServerName and update the port number there also.
Now save and re-start XAMPP server and you are done.