Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 325562

Summary: Debug Website does not work because of used port 10000
Product: z_Archived Reporter: coding
Component: PDTAssignee: PHP Debug <php.debug-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: major    
Priority: P3 CC: jacek.pospychala, zulus
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description coding CLA 2010-09-17 05:54:09 EDT
Build Identifier: 20100617-1415

I have some web-server running on port 10000, because of this  i got the message in the logfile: !MESSAGE The debug port 10000 is in use. Please select a different port for the debugger.

The port is set for the zend Debugger by default.

I use xdebug but because of the set port for zend debug debugging a wib Site did not do anything.

After changing the port for the zend debugger to port 10001 debugging works.

I think the user should be informed  when he tries to start to debug a website that port 10000 is in use.

Cheers,
Alex

Reproducible: Always

Steps to Reproduce:
1.start some program  listening on port 10000
2.start eclipse with port 10000 for zend debugger
3.try to debug web site
Comment 1 Jacek Pospychala CLA 2010-09-17 06:17:26 EDT
hi Alex,
would changing debugger port work for you?
You can do this in preferences -> PHP -> Debug -> Installed Debuggers.
Choose Zend Debugger, press "Configure" and use some other port than 10000.
(btw. on my machine it uses 10137, not sure why)

you may need to restart Studio for changes to take effect.
Comment 2 coding CLA 2010-09-17 06:35:45 EDT
I changed the port already and it is working now, but I think the user should get an message if port 10000 is in use, so at least he knows why the debugging of a website does not work.

Alex
Comment 3 David Kelsey CLA 2010-09-17 06:44:19 EDT
Prior to PDT 2.1 this is exactly what PDT did. However someone raised a bug saying that PDT should not display a dialog box telling you that it is in use, it should only add an entry to the error log.

So now this is the behaviour.
Comment 4 coding CLA 2010-09-17 06:59:29 EDT
If I read the right bug the dialog was shown at startup of eclipse, but I think it should show the dialog when starting debugging as website.
Comment 5 Dawid Pakula CLA 2015-10-22 09:00:57 EDT
It's older than bug 364307, but this task have correct title.

*** This bug has been marked as a duplicate of bug 364307 ***