PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Thursday, February 17, 2022

[FIXED] Netbeans IDE mac osx Localhost not working

 February 17, 2022     macos, mamp, netbeans, php     No comments   

Issue

I'm getting the following error on Netbeans IDE on osx:

Firefox can't establish a connection to the server at localhost:8888

the URL is:

http://localhost:8888/PhpProject_130208/index.php

and the code is:

<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Hope this works</title>
</head>
<body>
    <?php
    // put your code here
        echo "My first PHP script!";
    ?>
</body>
</html>

when I run MAMP it says MAMP is installed and working>

Needless to say I'm a complete n00b and I'm not even sure how to ask the question. I'm trying to learn PHP on my mac and have gotten this far.

What am I doing wrong, where can I learn how to set this up properly?


Solution

Read through the PHP Learning Trail of Netbeans, this will help you with the basics.

Useful articles:

  • NetBeans IDE PHP Quick Start Tutorial
  • Setting Up a PHP Project
  • Configuring PHP, Apache, MySQL, and Xdebug for PHP development in MAC OS X


Answered By - ollo
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing