Simply set Apache to listen on a different port. This can be done by clicking on the “Config” button on the same line as the “Apache” module, select the “httpd.conf” file in the dropdown, then change the “Listen 80” line to “Listen 8080”. Save the file and close it.
Now it avoids Port 80 and uses Port 8080 instead without issue. The only additional thing you need to do is make sure to put localhost:8080 in the browser so the browser knows to look on Port 8080. Otherwise it defaults to Port 80 and won’t find your local site.
Related Posts:
- How do I run a file on localhost?
- “Connection for controluser as defined in your configuration failed” with phpMyAdmin in XAMPP
- phpMyAdmin ERROR: mysqli_real_connect(): (HY000/1045): Access denied for user ‘pma’@’localhost’ (using password: NO)
- Xampp Access Forbidden php
- Google Calendar API event update always return 404 “not found” error
- Array to String PHP?
- Should I use mysqli_real_escape string() or mysql_real_escape_string() for form data?
- currently unable to handle this request HTTP ERROR 500
- What are the main differences between PHPExcel and PhpSpreadsheet?
- PDOException: SQLSTATE[HY000] [2002] No such file or directory
- How do I get a file extension in PHP?
- mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in
- Convert a PHP object to an associative array
- Expected status code 200 but received 500
- Regex to check for new line
- Cannot access to localhost/xampp/index.php
- Elegant way to search for UTF-8 files with BOM?
- Can you “compile” PHP code and upload a binary-ish file, which will just be run by the byte code interpreter?
- Is SAJAX dead? What to replace with?
- break out of if and foreach
- Redirect vs RedirectMatch
- Can curl make a connection to any TCP ports, not just HTTP/HTTPS?
- Get Current URL in Magento and show something
- Error 330 (net::ERR_CONTENT_DECODING_FAILED):
- What does __FILE__ mean?
- Fatal error: Call to a member function bind_param() on boolean [duplicate]
- Weird PHP error: ‘Can’t use function return value in write context’
- How do I fix “Undefined variable” error in PHP?
- How do I get a YouTube video thumbnail from the YouTube API?
- How do you parse and process HTML/XML in PHP?
- Is there a difference between the UTC and Etc/UTC time zones?
- Fatal error: Call to a member function prepare() on null
- PHP mail not working for some reason
- move_uploaded_file gives “failed to open stream: Permission denied” error
- PHP convert XML to JSON
- PHP if not statements
- PHP with MySQL 8.0+ error: The server requested authentication method unknown to the client
- WordPress Error : Upload folder is not writable. Export and file upload features will not be functional
- How to call function of one php file from another php file and pass parameters to it?
- SQLSTATE[HY093]: Invalid parameter number: parameter was not defined
- Is it possible to run .php files on my local computer?
- how to get id from URL using php
- Fatal error: Cannot use object of type mysqli_result
- mysql_field_name to the new mysqli
- mysqli_select_db() expects parameter 1 to be mysqli, string given
- Remove all special characters from a string
- how to convert object into string in php
- PHP Fatal error: Call to undefined function mssql_connect()
- Call to a member function on null?
- how to ping ip addresses in php and give results
- do_shortcode not working
- SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens on line 102
- Only variable references should be returned by reference – Codeigniter
- PHP Unset Session Variable
- “Fatal error: Cannot redeclare function”
- What does MYSQLI_NUM mean and do?
- Fatal Error: Allowed Memory Size of 134217728 Bytes Exhausted (CodeIgniter + XML-RPC)
- php get all url variables
- How to remove unused dependencies from composer?
- how to get date of yesterday using php?
- How can I fetch all items from a DynamoDB table without specifying the primary key?
- ERROR: SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it
- How to extract and access data from JSON with PHP?
- How to convert array to SimpleXML
- What does double question mark (??) operator mean in PHP
- How can I find the php.ini file used by the command line?
- WordPress query single post by slug
- TCPDF ERROR: Some data has already been output, can’t send PDF file
- Check if a PHP cookie exists and if not set its value
- Deprecated: mysql_query() [duplicate]
- Limit String Length
- Call to undefined function mysql_query() with Login [duplicate]
- Is there a function to make a copy of a PHP array to another?
- How to POST JSON Data With PHP cURL?
- htmlentities() vs. htmlspecialchars()
- How to run PHP locally on MacOS
- Call PHP function from jQuery?
- PhpMailer SMTP NOTICE: EOF caught while checking if connected
- What is the meaning of sprintf(): Too few arguments
- JavaScript equivalent of PHP’s in_array()
- Paypal IPN Verification Postback with HTTPS
- Create a folder if it doesn’t already exist
- Implement linked list in php
- Using PHP 7 with WAMP
- Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0
- PHP: date function to get month of the current date
- Warning: mysqli_real_escape_string() expects exactly 2 parameters, 1 given… what I do wrong?
- How to make PDF file downloadable in HTML link?
- PHP: bootstrap.php
- Display array values in PHP
- Php create a file if not exists
- What is a templating language?
- Page redirect after certain time PHP
- Logout button php
- Determining Referer in PHP
- Unset cookies php
- Check if $_POST exists
- PHP – Fatal error: Unsupported operand types
- Fatal error: Uncaught Error: Call to undefined function get_header() [closed]
- How to prevent a function from running based on host (ie web vs local)?