Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3936306
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T23:55:53+00:00 2026-05-19T23:55:53+00:00

I am running an Amazon Linux image on EC2. However, I cannot open port

  • 0

I am running an Amazon Linux image on EC2. However, I cannot open port 443 when I launch my twisted server.

I created a security group and verified that the instance was using it which allowed traffic on HTTPS. (HTTPS tcp 443 443 0.0.0.0/0).

Here is the output:

ERROR:root:Exception launching the json rpc server
Traceback (most recent call last):
  File "start_ipns_proxy.py", line 27, in launch_json_rpc
    RPC_SSL_CERTIFICATE_FILE))
  File "/home/ec2-user/ipns_proxy/push_notify/twisted/internet/posixbase.py", line 444, in listenSSL
    p.startListening()
  File "/home/ec2-user/ipns_proxy/push_notify/twisted/internet/tcp.py", line 857, in startListening
    raise CannotListenError, (self.interface, self.port, le)
CannotListenError: Couldn't listen on any:443: [Errno 13] Permission denied.

It was working just fine on my local box, and when I change the port to 80 I still have the issue (HTTP was also in my security group). I also rebooted the instance and no luck.

EDIT:

Here is my netstat output
[ec2-user@domU-12-31-38-04-1E-EC push_notify]$ sudo netstat -nupt -l
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name   
tcp        0      0 0.0.0.0:22                  0.0.0.0:*                   LISTEN      1559/sshd           
tcp        0      0 127.0.0.1:25                0.0.0.0:*                   LISTEN      1592/sendmail: acce 
udp        0      0 0.0.0.0:68                  0.0.0.0:*                               1428/dhclient       
udp        0      0 10.220.29.22:123            0.0.0.0:*                               1572/ntpd           
udp        0      0 127.0.0.1:123               0.0.0.0:*                               1572/ntpd           
udp        0      0 0.0.0.0:123                 0.0.0.0:*                               1572/ntpd
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T23:55:54+00:00Added an answer on May 19, 2026 at 11:55 pm

    You might be running the program that uses port lower than 1024.
    Try running the program using root or sudo.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have postgres database running on Amazon EC2 instance. I have few tablespaces created
I have created own AMI and registered it on Amazon EC2. But while AMI
I'm setting up my web server on Amazon's EC2. My site used to run
When running my application I sometimes get an error about too many files open
We've been fighting with HAProxy for a few days now in Amazon EC2; the
I'm working on a project, using Python/Django running on a Virtual Private Server, which
I've been using Amazon EC2 for hosting a recently released website, mainly to gauge
I want to offer ready-to-deploy Public Ubuntu Lucid AMIs on Amazon Web Services EC2.
Running a rails site right now using SQLite3. About once every 500 requests or
running git instaweb in my repository opens a page that says 403 Forbidden -

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.