Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to run PyCharm using port 80

I can't run my PyCharm IDE using port 80. I need to use PayPal that requires me to use port 80. But using Mac OS X 10.8 I can't have it working because of permission issues. I've already tried running PyCharm with SUDO command.

Does anyone know how to run Pycharm using port 80, or any other solution?

Thanks.

like image 275
eestein Avatar asked Aug 16 '12 13:08

eestein


People also ask

What port does PyCharm use?

By default this port is set to 63342 through which PyCharm accepts connections from services. You can set the port number to any other value starting with 1024 and higher. If this checkbox is selected, then the files on the built-in server running on the specified port are accessible from another computer.

How do I run PyCharm locally?

Press Ctrl+Alt+S to open the IDE settings and select Build, Execution, Deployment | Deployment. Alternatively, from the main menu, select Tools | Deployment | Configuration.... and select Local or mounted folder in the popup menu.

How do I create a config file in PyCharm?

Alternatively, press Alt+Shift+F10 , then 0 . In the left-hand pane of the run/debug configuration dialog, click Edit configuration templates…. In the Run/Debug Configuration Templates dialog that opens, select a configuration type. Specify the desired default parameters and click OK to save the template.


1 Answers

You can achieve that by setting the Environment Variable inside PyCharm IDE. The Variable will be: FLASK_RUN_PORT=80 Steps to achieve that:

  1. RUN -> Edit Configurations
  2. Environment variables -> FLASK_RUN_PORT=80

Image: enter image description here

like image 145
Qais Bsharat Avatar answered Oct 30 '22 06:10

Qais Bsharat