Skip to main content

How to change wamp server default port in windows environment



Assumption


  1. I assume that you have already installed wamp server on your machine
  2. I am using windows 7 64 bit Operating System
  3. I have installed my wamp server in d:/wamp (Non-Operating system drive on my machine)
  4. I am using wamp 2.2 64 bit version
  5. Trying to change wamp default port 80 to port 8080

Now follow me to change default port no in windows environment

  1. First of Start wamp server from the start menu.
  2. You will get wamp icon in your system try. Irrespective of the status (irrespective of color of icon) of the wamp server left click on the icon. Pop-up menu will be open as below.
  3. Now go to the Apache >> Httpd.conf. This will open httpd.conf file in text editor usually in notepad. OR Alternatively you can access this file from file system “D:\wamp\bin\apache\apache2.2.22\conf\httpd.conf”. Go to the wamp folder. Here you will find bin. Now select one of the main components of wamp Apache and go to the apache folder.
  4. Select the desired apache version and open that folder. Within specific version of the apache folder you will find conf (configuration directory). Open this directory and you will reach to httpd.conf file
  5. Within httpd.conf file search for the “Listen". In old version of wamp search for "port" instead of "Listen"
  6. You will find “Listen 80” on approximately line no 46 now change it to Listen 8080
  7. Save your file
  8. By Clicking left click on the wamp icon and select “Restart All Services” from the menu item and wait for wamp server to restart.
  9. Hurray… you have change the default port to port 8080 so now your localhost work as http://localhost:8080

Comments

Popular posts from this blog

How to add facebook share button to your website

Assumption I assume that you already had created Facebook App and you have AppId for the particular domain. How to add a Facebook share button to your website page Let’s have a look how to add share button to your web page, so that people can share your web content on Facebook. Step - 1:   Get a Facebook AppId for your domain. First of all to add share button to your website you must have Facebook AppId for the domain on which you would like to place a button. This is basically to ensure security perspective. If you don’t know how to set up Facebook App please have a look at my blog on same. Step – 2: Add the Facebook JavaScript SDK to you web page. Facebook is providing code to initialize JavaScript SDK. You need to add this code within <body>…</body> tag of your .php/.html/.asp page. I suggest using Asynchronous JavaScript code. Facebook provide two methods as follow Synchronous: Loads in order it appears in your code Asynch...

Difference between SQL and NoSQL database

Key Difference SQL NoSQL Known As SQL Based database Management System is majorly known as RDBMS or DBMS Systems Whereas NoSQL database are primarily non-relational database or distributed database Architecture SQL Database mainly   architecture surrounded to the Tables       In Case of NoSQL database there are major four categorization Document base   Key-value pair base     Graph database   Wide-column Store Schema SQL database has its own predefine schema to store structure data In NoSQL database, there is no predefine schema, here schema is most dynamic element based on the data elements Scalability SQL Databases are vertically scalable, means if we want to scale SQL base database, we need to give hardware boost on which the DBMS System is installed. This is where it sometimes goes for the limitation of scalability...

How to create facebook app for website integration

How to create Facebook application to get app id for your website In this article, I’ll show you how to set up a Facebook application for your website domain so you can integrate Facebook features on your website, such as the Share Button, which require that your domain have an App ID. Facebook defines “App ID” or “appId” as “a unique identifier for your site that ensures that we have the right level of security in place between the user and your website.” When integrating the Facebook Social Plugins (Like Button, Send Button, Comments, etc.) into your website pages you don’t need an App ID, but for other features an App ID required, such as the Share Button. It’s pretty easy to set up a Facebook application for your domain, providing you with an App ID you can use for Facebook integration features on all pages of your domain or subdomains of your domain. Here’s how… Step – 1: You need to become a Facebook Developer I assume that you are new to Face...