tristandunn / pusher-fake

A fake Pusher server for development and testing.
https://rubygems.org/gems/pusher-fake
MIT License
173 stars 32 forks source link

Ports 8080 and 8081 are quite commonly in use #31

Closed lpender closed 10 years ago

lpender commented 10 years ago

The default ports for the socket_options and web_options, respectively, are: 8080, and 8081.

These ports are quite common, and caused a lot of conflicts with myself and my team. I recommend that the defaults be changed to some less commonly used ports.

For a list of commonly used ports, see: http://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers

8080 is used in 6 places and 8081 in 1 place.

1986-1991, for example, seem to be unused.

Thanks! -Lee

tristandunn commented 10 years ago

Good point about using non-default ports.

I'm attempting to default to random open ports, but the tests are failing at the moment. If I can't get this solution working I'll change the ports to uncommon values as a temporary solution.