Asterisk mini-http server port

Hi There,

I have been trying for a number of hours to get the asterisk mini-HTTP server to bind on TCP port 443. I have changed the port in the config but it does not bind when I look at netstat. If I change this port to 8089 it binds fine.

I did some testing and managed to get it to bind on ports 1024 and above so I am guessing this is a problem with permissions binding to the port. Can anyone please offer any advice on how I can get this working?

I have moved existing admin secure ports to none default ports so there is nothing currently listening on there.

Many Thanks

By default, that port is being used for https, set under system admin > port management, so you probably caused a port conflict.

That’s the default mini HTTPS Bind Port…

Why would you want to use 443? whats wrong with the default port 8088?

because some of my customers have TCP port 8089 outbound blocked. Therefore having it run on port 443 is a preferred option. I have changed the default secure port so there should be no problem with a port conflict. I am almost certain it is a problem with binding to a privileged port.

What are you using the Asterisk Mini-HTTP server for?

Websocket calling.

So you’re saying that all the “alternate” ports for HTTP usage that people commonly use, 8000, 8080, 8088, etc are not accessible by your clients?

Perhaps :-

iptables -A PREROUTING -t nat -p tcp --dport 443 -j REDIRECT --to-port 8089

?

To some of them no.

Will try that, i didnt think of using IP Tables. Thanks

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.