Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8068497
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T12:42:37+00:00 2026-06-05T12:42:37+00:00

I’ll try to be as detailed about the situation as possible but this has

  • 0

I’ll try to be as detailed about the situation as possible but this has puzzled me for too long now.

I have an Ubuntu Server 12.04 guest running on a Win7 host. I configured the VBox with 2 NICs: a NAT adapter for communication to the outside world and a Host-Only adapter to create a private network for the host and guest to communicate in. The LAMP stack is the default stack provided with Ubuntu Server 12.04. The guest recognizes both NICs and the Host-Only NIC has a static IP configuration. The host is known as 192.168.56.1 and the guest is known as 192.168.56.101. I used this guide to set it up. ifconfig shows both adapters. I tested if the host is reachable by pinging it and I do receive a reply.

I have everything working properly: MySQL, PHP, Apache2, APC, Shared folder mount and the project is reachable and loads as fast as it should.

This is where xdebug comes to play. As long as I disable the remote debugger OR tell xdebug my remote host is localhost, the project loads at a decent speed. But as soon as I tell xdebug that the remote host is anything else than localhost or that it should connect back to any request, the page load seems to hang for minutes before finally delivering the result.

I develop with Symfony2 which has a nifty developers toolbar and this toolbar actually tells me the pageload took 1174ms. This makes me suspect it’s maybe xdebug and Apache not be playing nice. Also following is the very basic configuration I have attempted with xdebug:

zend_extension=/usr/lib/php5/20090626/xdebug.so

xdebug.remote_enable=on
xdebug.remote_handler=dbgp
;xdebug.remote_connect_back=on
xdebug.remote_host=192.168.56.1
xdebug.remote_port=9000
xdebug.remote_log = /var/log/xdebug.log

I’m completely clueless as to what might cause this problem and any help is much appreciated. Thanks in advance!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T12:42:38+00:00Added an answer on June 5, 2026 at 12:42 pm

    Alright it was not as complicated as I thought it was.

    Windows Firewall was blocking the port. After I thought I had allowed port 9000 through the firewall I decided to check again by simply turning it off completely. Low and behold: it runs flawlessly. So I’ll leave this reply here for people running into the same problem:

    Make sure you allow traffic over your chosen debugger port when using a similar construction!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

this is what i have right now Drawing an RSS feed into the php,
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
This could be a duplicate question, but I have no idea what search terms
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I have a jquery bug and I've been looking for hours now, I can't
I want to count how many characters a certain string has in PHP, but
I have this code to decode numeric html entities to the UTF8 equivalent character.
I have a French site that I want to parse, but am running into
I have this code: - (void)parser:(NSXMLParser *)parser foundCDATA:(NSData *)CDATABlock { NSString *someString = [[NSString
I have an array which has BIG numbers and small numbers in it. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.