'unable to connect' and  index.php

Hi. 
I am developing a Web Site and index.php is my point of entry.
Document Root     Library/WebServer/Documents
so my path is:       Library/WebServer/Documents/dwwdSite
httpd.conf file is modified to add index.php  and have it listed first.
<IfModule dir_module>
DirectoryIndex   index.php   index.html
<IfModule>
Troubleshooting:
I was using Netbeans IDE and when I ran index.php it opened in the browser.
When I launched 'any' of my index.php files from Netbeans IDE, they opened correctly in the brower
I am NOW using DreamweaverCC and when I run the index.php Error Message ' Unable to Connect'.
For the last 2 days I have been working on this and I am completely stuck.
This morning I thought of another way to test the 'unable to connect' error.
I decided to copy this same file into Netbeans IDE and I NOW get the same Error Message ' Unable to Connect'
when running index.php from Netbeans.
Somehow, my settings are not correctly configured anymore.
Here are my screenshots from Dreamweaver > manage sites.
I believe that this is a rather simple fix that I am somehow not seeing.
Maybe some can spot some mistake.
I appreciate your help and explanation.

Hi Sudarshan.
You have been very kind and very clear in your explanation.
One of the very best that I have ever communicated with on this forum !
I have checked many, many things.
I wanted to make certain that I killed apache and restarted it.
I do not think it is RUNNING at all.
1.
myNameMacBookPro:~ myName$ pwd
/Users/myName
2.
myNameMacBookPro:~ myName$ ps -ax | grep http
1892 ttys000    0:00.00 grep http
3.
myNameMacBookPro:  myName$ hostname
local
4.
myNameMacBookPro:etc myName$ cd apache2
reginaMacBookPro:apache2 myName$ ls
extra            httpd.conf.pre-update    mime.types        other
httpd.conf        magic            original        users
5.
myNameMacBookPro:apache2 myName$ sudo nano httpd.conf
myNameMacBookPro:apache2 myName$ sudo apachectl -k restart
Syntax error on line 1 of /private/etc/apache2/users/myNameBU.conf:
Invalid command '{\\rtf1\\ansi\\ansicpg1252\\cocoartf1187\\cocoasubrtf370', perhaps misspelled or defined by a module not included in the server configuration
httpd not running, trying to start
myNameMacBookPro:apache2 myName$
6.
The above code may be a hint at part of the problem.
I created myNameBU.conf   as a backup when I was editing the file.
QUESTION.  Why is /private/etc/apache2/users/myNameBU.conf:
being referenced above ?
7.
I scanned my ports from preferences and found these two which I believe are what you stated they should be.
port 80 is html
port 8080 is html-alt
8.
I have modified this line and tried it both ways restarting apachectl each time.
AllowOverride None
AllowOverride All
9.
And here is a part of my httpd.conf.
excerpts.
httpd.conf
# User/Group: The name (or #number) of the user/group to run httpd as.
# It is usually good practice to create a dedicated user and group for
# running httpd, as with most system services.
User _www
Group _www
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
DocumentRoot "/Library/WebServer/Documents"
# Each directory to which Apache has access can be configured with respect
# to which services and features are allowed and/or disabled in that
# directory (and its subdirectories).
# First, we configure the "default" to be a very restrictive set of
# features.
<Directory />
    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all
</Directory>
10.
I took a look at this too.
usr/bin
#path to httpd binary including options if necessary
HTTPD = "usr/sgin/httpd"
# pick up any environmental variables if test - f /usr/sbin/envvars; then ./usr/sbin/envvars
fi
STATUSURL = "http://localhost:80/server-status
11.
Just a reminder.
I started writing .php scripts with Netbeans IDE.
The programs ran:  I got output in the brower.  Things worked just fine !
I started writing .php scripts with DreamweaverCC.
The programs NEVER ran.
I have always gotten 'Unable to Connect"
Firefox/Safari can't establish a connection to the server at localhost.'
12.
QUESTION.
At one point I was on the phone with a member of the Adobe Technical Support Team.
They connect to my desktop (only) remotely.  I am very cautious about this.
Could something have been inadvertently changed when they did this ?
They do need to connect through a PORT - yes ?
This is very frustrating and I am loosing days of work.
I want to get back to Web Development
I love Adobe products but this should not be such a huge obstacle.
When I called Technical support (after much troubleshooting individually and on this forum)
the fellow told me that the ONLY support FTP - not LOCALHOST.
This makes no sense.  People develop 'locally' then put it ftp it in the production stage.
Again, I appreciate your assistance.

Similar Messages

  • 'unable to connect' and 'localhost' and index.php and dreamweaverCC

    Hi. 
    I am developing a Web Site and index.php is my point of entry.
    Document Root Library/WebServer/Documents
    so my path is: Library/WebServer/Documents/dwwdSite
    httpd.conf file is modified to add index.php  and have it listed first.
    <IfModule dir_module>
    DirectoryIndex   index.php   index.html
    <IfModule>
    Troubleshooting:
    I was using Netbeans IDE and when I ran index.php it opened in the browser.
    When I launched 'any' of my index.php files from Netbeans IDE, they opened correctly in the brower
    I am now using DreamweaverCC and when I run the index.php Error Message ' Unable to Connect'.
    For the last 2 days I have been working on this and I am completely stuck.
    This morning I thought of another way to test the 'unable to connect' error.
    I decided to copy this same file into Netbeans IDE and I NOW get the same Error Message ' Unable to Connect'
    when running index.php from Netbeans.
    Somehow, my settings are not correctly configured anymore.
    Here are my screenshots from Dreamweaver > manage sites.
    I believe that this is a rather simple fix that I am somehow not seeing.
    Maybe some can spot some mistake.
    I appreciate your help and explanation.

    Site window settings.
    Site Name: dwwdSite
    Local site folder: /Library/WebServer/Documents/dwwdSite
    Server window settings.
    Server Name: testing Server
    Address: Macintosh HD/Library/WebServer/Documents/dwwdSite
    Connect using: Local/network
    Testing: yes (checked)
    Server folder: /Library/WebServer/Documents/dwwdSite
    (I also tried this: Server folder: /Library/WebServer/Documents)
    Web URL: http://www.localhost/dwwdSite
    Server Advanced tab: (within server window settings)
    Testing server: PHP MySQL
    Advanced Settings window.
    Local info: Web URL: http://www.localhost/dwwdSite
    Enable cache: yes (checked)

  • When open Firefox 8, says 'Unable to connect' and no websites work. Internet connection is fine. Please help :(

    My Firefox automatically updated to Firefox 8. Since doing so, when I open the browser the screen displays a box saying 'Unable to connect' and says the same for any website. My internet connection is fine. I uninstalled and installed Firefox again, but problem persists. Please help as this is really frustrating me :(

    Did you try this?
    '''Remove Firefox from your program's list of trusted or recognized programs, then add it back.'''
    Some Firewalls don't specify which version of Firefox is permitted. <br />New version of Firefox = new executable was installed = new permission is needed
    The top 12 ways to get fooled by Firewalls: <br />
    http://forums.mozillazine.org/viewtopic.php?p=2295421#p2295421

  • My FaceTime won't let me sign in, I verified my ID online but when I go to sign in on the iPad 2 it says unable to connect  and Wont send me the email?

    My FaceTime won't let me sign in, I verified my ID online but when I go to sign in on the iPad 2 it says unable to connect  and Wont send me the email?

    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime: Set-up, Use, and Troubleshooting Problems
    http://tinyurl.com/32drz3d
     Cheers, Tom

  • My ipod 4G won't connect to my wifi at home with new router. Says "unable to connect" and won't give me any other options. Have tried resetting network connections. Help.

    My ipod 4G won't connect to my wifi at home with new router. Says "unable to connect" and won't give me any other options. Have tried resetting network connections. I don't want to lose anything. I have tried turning everything off and back on again. Desktop and laptop are working fine. Sometimes it turns on suddenly and I can use it for like 20 mins but then shuts off again. Same thing is happening with my dad's iphone, Help.

    Does the iOS device connect to other networks?
    Does the iOS device see the network?
    Any error messages?
    Do other devices now connect?
    Did the iOS device connect before?
    Try the following to rule out a software problem:                 
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Power off and then back on your router
    .- Reset network settings: Settings>General>Reset>Reset Network Settings
    - iOS: Troubleshooting Wi-Fi networks and connections
    - Wi-Fi: Unable to connect to an 802.11n Wi-Fi network       
    - iOS: Recommended settings for Wi-Fi routers and access points
    - Restore from backup. See:
    iOS: How to back up
    - Restore to factory settings/new iOS device.
    If still problem and it does not connect to any networks make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar

  • Can't delete or edit a Mail account that is unable to connect and it keeps notifying me

    Can't delete or edit a Mail account that is unable to connect and it keeps notifying me and asking for password. Macbook Pro with Yosemite. If I highlight the account and go to Mailboxes, "Edit smart mailbox" is greyed out. Delete the mailbox is an option, but the mailbox just doesn't go away and no error message displayed. Tried Mail/Preferences/Accounts, highlighting account and using minus sign, it tells me the account is shared by other applications and gives me an option to go to Internet Accounts. At Internet Accounts, the only mail account showing is iCloud. Meanwhile, the pesky Mail icon is jumping around the bottom of my screen.
    Can anyone help?

    Did you ever find a fix for this? Mine is doing exactly the same thing, even with 2.01 - I hoped that might fix it. I'd rather not have to reset and erase the whole phone.

  • My firefox won't work; It says "unable to connect" and I have tried all of the tips for troubleshooting and it still wont' work.

    Firefox opens up with an "unable to connect" message; it also says it cannot establish a connection to the server with these three bullets: 1) The site could be temporarily unavailable or too busy. Try again in a few moments.
    2) If you are unable to load any pages, check your computer's network connection.
    3) If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web.
    I have tried to do all of the tips that you have on your website for troubleshooting and nothing seems to work. I know it is not my Internet connection because my roommates can get on Firefox without a problem and my Internet Explorer opens just fine.
    == This happened ==
    Every time Firefox opened
    == I wanted to do homework last night. ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; FunWebProducts; GTB6.5; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 1.1.4322; Tablet PC 2.0; .NET CLR 3.5.30729; .NET CLR 3.0.30618; AskTbARS/5.8.0.12304)

    Ccote15-
    If your iPad is defective and is still under warranty, you can take it to an Apple Authorized Repair Center and get it fixed.  If you are worried about a defective replacement, then a repair may be a better way to go.  <Apple Authorized Repair Centers>
    Personally, I would prefer getting a replacement.  You read about many defects here in this forum, but they only represent a tiny percentage of all iPads sold.
    Fred

  • IP Printing Issue -- Unable to connect and print

    I'm trying to print to a network printer that's connected by cable to my wireless router using IPP. The error message reads "Unable to connect to IPP host." The IP address I used for the printer was obtained from the printer test page. I also specified "generic postscipt printer" in the printer setup utility window. My printer and network info as follows:
    Printer -- HP LaserJet 4MV
    Router -- Linksys Wireless G
    Computer -- Powerbook G4, OSX.4
    I've reset the printers in the Printer Utility to use the latest version driver for the HP. I can browse using my PBk so my wireless connection is working (in fact the PBk is in the same room as the router). Any suggestions would be very much appreciated.

    I don't have a manual for the printer and I'm not aware of a print server being included in the hardware. The printer is simply a HP LaserJet 4MV which has a I/O card installed with local talk, 10Base-T, parellel, and BNC connections. I'm using the 10Base-T connection to my router.
    On the test page printout, it lists several things one of which is "Server Name" but it's blank with no entry. Under the heading "Mode" the entry reads "Queue Server." Don't know if any of this is relevant.

  • I cannot connect to internet eevnthough i have wifi,when im trying to login on FB it says unable to connect and same with YM it saysinternet connections appears to be offline,when in fact the WIFI smartbro is connected,and the signal is very strong...

    my itouch cannot connect to internet...but the other day i can use the wifi im connected,but since yesterday eventhough im connected to wifi and the signal is very strong,when im trying to login on FB it says unable to connect to FB,same with YM it says internet connection is offline when in fact i have a strong signal of wifi..

    - Reset the iPod. Nothing is lost
    - Power off and then back on the router
    - Reset network settings: Settings>General>Reset>Reset Network Settings
    - iOS: Troubleshooting Wi-Fi networks and connections
    - iOS: Recommended settings for Wi-Fi routers and access points
    Do other devices successfully connect to the network?
    Does the iPod successfully connect to other networks?

  • I receive a message that I am unable to connect and check internet connections. I'm able to access thru Explorer. Tried re-downloading Firefox. Thoughts?

    Have been using Firefox for a number of years. About two weeks when I attempted to access a bookmark through Mozilla I got an unable to connect. Have tried multiple things including removing and reinstalling several times. Each time I attempt to got to a site I receive a "Firefox can't establish a connection to the server at www.X. I'm offered choices to retry; check network connection or check Firewall or proxy and make sure Firefox is permitted access to the Web.
    To the best of my knowledge I made no changes to the access. I am able to reach the internet via internet explorer and can reach the sites that Firefox is denied. I've tried playing with the internet connection settings but to no avail.

    I, too, have used Mozilla/Firefox for yrs and like it very much. After some security issues and my security company worked on the issues, Mozilla/Firefox disappeared from my screen. I'm getting the following when I try to download:
    C\user\Lee\App Data\Data\Local\temp
    7zEEEE.temp\set up. exe
    D:users\Lee AppData\Local
    Temp\7zEEEEtemp.\setup.exe
    This system could not find the environment option entered.
    Might someone be so kind as to help me please?
    Thank you,
    Leeflea.

  • Since updating to Firefox 35 it's the only browser that shows error "Unable to connect" and nothing works from the support answers to solve it

    so far i tried:
    1. to set the windows firewall settings
    2. I've reinstalled firefox
    3.

    Type '''about:preferences#advanced'''<Enter> in the address bar.
    Under '''Advanced,''' Select '''Network.'''
    Look for '''Configure How Firefox Connects''' and press the '''Settings''' button.
    Check the settings.
    Some problems occurs when your Internet security program was set
    to trust the previous version of Firefox, but no longer recognizes your
    updated version as trusted. Now how to fix the problem: To allow
    Firefox to connect to the Internet again;
    * Make sure your Internet security software is up-to-date (i.e. you are running the latest version).
    * Remove Firefox from your program's list of trusted or recognized programs. For detailed instructions, see
    '''[https://support.mozilla.org/en-US/kb/configure-firewalls-so-firefox-can-access-internet Configure firewalls so that Firefox can access the Internet.]''' {web link}

  • TS1368 hi i am having trouble with connectind to the i tune app it says unable to connect and when i try to make a payment it says cntact i tune although i have money on my account, and i have checked my wi fi please can you help, THANK YOU

    I am having trouble useing i tune, when i try to connect it says ubable to connect, and when i try to pay for something it says please contact i tunes, i have checked my wi fi, and i have money in my account, can you help, thank you

    These are user-to-user forums, you can contact iTunes support via this page and ask them why the message is appearing : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page

  • Clients unable to connect and get DHCP - LAP1142N AP and 5508 WLC

    Hi,
    I have 19 locations, each with 1 or more LAP1142N AP's in FlexConnect mode, AP's are primed using CAPWAP to my 5508 WLC at the datacenter. The AP's join the WLC without issue every time. I have two WLAN's, one guest and one staff, the guest network is open and obtains DHCP from a WatchGuard XTM33 firewall at each of the remote locations. The staff side is WPA2/RADIUS and DHCP is assigned from the WLC. Each AP is assigned a static IP that is not in the DHCP scope. For example: DHCP scope on the branch firewall is 192.168.1.10-250 the AP will be assigned static IP of 192.168.1.1.. The AP's are connected to a HP procurve switch that has a untagged VLAN, the firewall is using the native vlan 1 and so is the AP.
    I have been running this network for over a year and it has not had a single issue until the last two weeks. Nothing on the network has changed or has been upgraded.
    Now for the issue: The issue I am seeing is that clients are no longer able to connect to the AP and do not get DHCP assigned to them. I am able to get it working, if I remove the static IP from the AP, the AP will reboot, join the controller, then begin working, users can connect and DHCP is assigned from the firewall as it should. However, If the AP then reboots, the AP will join back to the controller but no clients can connect nor do they get a DHCP address. So, I then reassign a static IP to the AP again and it reboots, connects to the controller and clients then can connect and get DHCP.
    Attached is a running config from one of the APs
    I've found several posts on this topic, in fact the patch of unassigning or reassigning static IP is one that I found. However, I wanted to post this to see if there is any further assistance I can get on this. I am also waiting on my SmartNet to start up and will be contacting Cisco support as well.
    Thanks for any help.

    Alright, so I finally figured out the issue with this. I had a Mobility Anchor set on the guest WLAN and once I removed that all started working again.
    What is Mobility Anchor?
    A. Mobility Anchor, also referred to as Guest tunneling or Auto Anchor Mobility, is a feature where all the client traffic that belongs to a WLAN (Specially Guest WLAN) is tunneled to a predefined WLC or set of controllers that are configured as Anchor for that specific WLAN. This feature helps to restrict clients to a specific subnet and have more control over the user traffic. Refer to the Configuring Auto-Anchor Mobility section of Cisco Wireless LAN Controller Configuration Guide, Release 7.0 for more information on this feature.

  • Wifi unable to connect and incorrect password problem/issues

    since i updated to iOS5.1 i started having a problem with our wifi connection. it is locked but even though i enter the correct password my itouch is promting that i have punched in an icorrect password itried using a different iDevice and punched in the same password it's all good, they can connect in our wifi and most of the time i receive an error "unable to join the network" if im trying to connect to an open network. what seems to be the problem? can somebody help me with this one?

    - Reset the iPod. Nothing is lost
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Power off and then back on your router
    - Reset network settings: Settings>General>Reset>Reset Network Settings
    - iOS: Troubleshooting Wi-Fi networks and connections

  • Unable to connect and register ECC from  NW Gateway 2.0

    Hi everyone,
    After installing SAP NetWeaver 7.4 I am having a few issues connecting it all up to my ECC system.  The problem i have is in SEGW under Service Maintenance.  I can see the ECC server i have created but i am unable to Register or Maintain.  The error log is showing up with no entries.
    Below is the error i get when i try and Register the entry (ECC server (I'm assuming its grabbing that info from the Gateway settings))
    All components are running on the NW7.4 and i'm making RFC calls to the ECC server.
    System Alias settings:
    Local GW is ticked
    RFC connection is specified (<SID>CLNT400) of the ECC backend system i'm trying to connect to
    Software Version = Default
    System ID = blank
    Client = blank
    WS Provider System = blank
    Gateway Settings
    Destination System = hostname of ECC server (both instances NW7.4 and ECC reside on the same physical box)
    Client = 400
    System Alias = as per "System Alias" settings setup above
    RFC Destination = <SID>CLNT400  -  RFC connection to ECC backend system
    RFC Connection <SID>CLNT400 settings
    Target host is specified
    Instance # is specified
    Current user is ticked
    Trust relationship = Yes
    From the Gateway server i'm able to go into SM59 -> Select the RFC destination and successfully "Remote Logon"
    If anyone can help me out here i would be very grateful.
    Thanks
    Rob

    Hi Chandra,
    Thanks for your quick reply.  I have checked my logged on user authorizations on both systems (same username exists on both systems).  On both the Gateway server and the ECC system i have the auth object S_RFCACL and all Fields have '*'.
    I am also able to Remote Logon through SM59 using my userid which i don't believe I would be able to do if it wasn't set correctly.
    Regards,
    Rob

Maybe you are looking for