Giter VIP home page Giter VIP logo

Comments (13)

GoogleCodeExporter avatar GoogleCodeExporter commented on September 6, 2024
I've just run multiple instances of phpdesktop and seems that
there is no problem running multiple php web-servers on the
same port. Why is that possible?

Original comment by [email protected] on 13 Jan 2013 at 5:22

from phpdesktop.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 6, 2024
Mongoose seems to be fine when running multiple instances of an
application with each instance starting web-server on the same port.

Original comment by [email protected] on 19 Jan 2013 at 6:04

from phpdesktop.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 6, 2024
[deleted comment]

from phpdesktop.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 6, 2024
See this topic on mongoose-users forum:
"How to check if port is free?"
https://groups.google.com/d/topic/mongoose-users/vBJ0bZHmOv8/discussion

Original comment by [email protected] on 2 Feb 2013 at 3:28

from phpdesktop.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 6, 2024
[deleted comment]

from phpdesktop.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 6, 2024
Check also if "remote-debugging-port" is free. If not, generate some random 
port for that too.

Original comment by [email protected] on 24 Jan 2014 at 5:10

from phpdesktop.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 6, 2024
When launching a second application that has the same listening port set, then 
the content from the first application that started a webserver on that port, 
will be served. So this is some serious issue. If there are two different 
applications and we display application 1 content in application 2, then this 
is really bad.

Original comment by [email protected] on 25 Jan 2014 at 10:08

from phpdesktop.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 6, 2024
[deleted comment]

from phpdesktop.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 6, 2024
Each instance of the same application should run on a different port, otherwise 
the --cgi-environment argument used to launch a second application instance, 
will not take effect as it is the first webserver that will be serving content.

Original comment by [email protected] on 25 Jan 2014 at 10:19

from phpdesktop.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 6, 2024
After a minor modification to mongoose sources, it now accepts port "0", 
thereby OS assigns a random free port. Now I need a way to get know the port 
that was assigned. Created a topic about that on mongoose-users group:

https://groups.google.com/d/topic/mongoose-users/spyD60wLcGE/discussion

Original comment by [email protected] on 25 Jan 2014 at 1:04

from phpdesktop.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 6, 2024
Fixed in revision 8091beb8d108. When port is set to 0 in settings.json, OS will 
assign a random free port.

Original comment by [email protected] on 25 Jan 2014 at 3:44

  • Changed state: Fixed

from phpdesktop.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 6, 2024
Chrome 31.4 and MSIE 1.12 released.

Original comment by [email protected] on 26 Jan 2014 at 1:25

from phpdesktop.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 6, 2024
Project will move to Github. Find this issue at the new address (soon): 
https://github.com/cztomczak/phpdesktop/issues/9

Original comment by [email protected] on 24 Aug 2015 at 3:13

from phpdesktop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.