We help IT Professionals succeed at work.
Get Started

How to open port 9000 for remote PHP Xdebug to local PHPStorm

Last Modified: 2015-03-14

I'm trying to set up the remote Xdebug with my PHPStorm. Everything works fine on another project but connecting to an Apache 2.2 server. I can't just seem to get it to work with the Nginx server and it seems like there is nothing being sent from the server. So I'm thinking it could be the port.

How do I go about this? What commands can I use to find out the open ports and if so how do I open it to just my local IP for security for outbound and inbound traffic?

I'm not sure if this will resolve it but it could be a possibility I'm thinking. I read a bunch of posts on setting up the remote Xdebug to work with PHPStorm and the Nginx server but it's not working. Reaching out to the tech support at Jetbrains too.

Any help is appreciated. Blessings<><,
Watch Question
SEO, Web Developer
This problem has been solved!
Unlock 9 Answers and 12 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE