Running a service will not bind to ports # 443 and # 80 despite application of sudo setcap ‘cap_net_bind_service=+ep’ /path/to/binary

Spread the love

The service starts and attemps to listen to port # 443, I get errno=99 which is EADDRNOTAVAIL and std::strerror(errno) reports “Cannot assign requested address”.
If I run sudo getcap /path/to/binary I get this:
/usr/local/binary_file = cap_net_bind_service+ep
This seems to mean that it has the capability, yet I can not bind to the port, anyone can help me with this issue?

X ITM Cloud News


Leave a Reply

Next Post

Why do I get "X packages can be updated" no matter how often I run update?

Sat Sep 12 , 2020
Spread the love          As a dsiclaimer I am barely familiar with linux. I know enough to install my own server and the packages I needed. What I have is: Distributor ID: Ubuntu Description: Ubuntu 18.04.5 LTS Release: 18.04 Codename: bionic Everytime I log in my welcome screen is: Welcome to Ubuntu […]

Cloud Computing – Consultancy – Development – Hosting – APIs – Legacy Systems

X-ITM Technology helps our customers across the entire enterprise technology stack with differentiated industry solutions. We modernize IT, optimize data architectures, and make everything secure, scalable and orchestrated across public, private and hybrid clouds.

This image has an empty alt attribute; its file name is x-itmdc.jpg

The enterprise technology stack includes ITO; Cloud and Security Services; Applications and Industry IP; Data, Analytics and Engineering Services; and Advisory.

Watch an animation of  X-ITM‘s Enterprise Technology Stack

We combine years of experience running mission-critical systems with the latest digital innovations to deliver better business outcomes and new levels of performance, competitiveness and experiences for our customers and their stakeholders.

X-ITM invests in three key drivers of growth: People, Customers and Operational Execution.

The company’s global scale, talent and innovation platforms serve 6,000 private and public-sector clients in 70 countries.

X-ITM’s extensive partner network helps drive collaboration and leverage technology independence. The company has established more than 200 industry-leading global Partner Network relationships, including 15 strategic partners: Amazon Web Services, AT&T, Dell Technologies, Google Cloud, HCL, HP, HPE, IBM, Micro Focus, Microsoft, Oracle, PwC, SAP, ServiceNow and VMware