Accessing Graylog without the port number

Hello…

Currently I accesing graylog by URL:

http://graylog.mycompany.com:9000

However I need accessing graylog just by:

http://graylog.mycompany.com

without port number

I’m currently use Graylog Server Version 5.0 and the hostname is in Internal DNS.

My server.conf settings like this

http_bind_address = 192.X.X.X:9000
http_publish_uri = http://graylog.mycompany.com:9000/
http_external_uri =  http://graylog.mycompany.com

I also done this, but still not working

iptables -A INPUT -i eth0 -p tcp --dport 80 -j ACCEPT

iptables -A INPUT -i eth0 -p tcp --dport 9000 -j ACCEPT

iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 9000

Can anybody helps to solve the problem? Thanks :smile:

hey @mfaizal2016

You best way would be using nginx/Apache in front.

1 Like

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