# Unable to login without port

**URL:** <https://community.graylog.org/t/unable-to-login-without-port/11465>\
**Category:** Graylog Central (peer support)\
**Created:** [August 5, 2019, 12:54pm UTC](https://community.graylog.org/t/unable-to-login-without-port/11465 "2019-08-05T12:54:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rockey](https://avatars.discourse-cdn.com/v4/letter/r/a698b9/32.png) [@Rockey](https://community.graylog.org/u/Rockey)\
**Post date:** [August 5, 2019, 12:54pm UTC](https://community.graylog.org/t/unable-to-login-without-port/11465/1 "2019-08-05T12:54:14Z")

</div>

Hi Team,

I have started to work with Graylog(3).for my company .

I am able to login to Graylog front-end with port “[http://cmpy-domain:9000](http://cmpy-domain:9000)” but without port unable to login “[http://cmpy-domain](http://cmpy-domain)” or “[https://cmpy-domain](https://cmpy-domain)”. I getting the below error.

Error - the server returned: 404 - cannot POST [https://cmpy-domain/system/sessions](https://cmpy-domain/system/sessions) (404

![image](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/2X/0/0f4404ec285a1691ce9e217e79cb38a21978a696.png)

I have configure the port proxy with nginx. please check “xxxx.conf” file.:

server {  
listen 80;  
listen [::]:80;  
server\_name cmpy-domain;  
return 301 https:///cmpy-domain;  
}

server  
{  
listen 443 ssl;  
listen [::]:443 ssl;  
server\_name cmpy-domain;

```
ssl_certificate /etc/ssl/bundle.cert.pem;
ssl_certificate_key /etc/ssl/local.key2.pem;

#access_log /var/log/nginx/graylog-server/access.log;
#error_log /var/log/nginx/graylog-server/error.log;

location / {
  proxy_set_header Host $http_host;
  proxy_set_header X-Forwarded-Host $host;
  proxy_set_header X-Forwarded-Server $host;
  proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  proxy_set_header X-Graylog-Server-URL https://$server_name/;
  proxy_pass http://10.99.99.26:9000;
}

```

}  
Please help me.

---

<div class="post-metadata">

**Author:** ![Zipslack](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/zipslack/32/3274_2.png) [@Zipslack](https://community.graylog.org/u/Zipslack)\
**Post date:** [August 5, 2019, 2:14pm UTC](https://community.graylog.org/t/unable-to-login-without-port/11465/2 "2019-08-05T14:14:25Z")

</div>

Hi,

what’s the value of `http_bind_address` in your server.conf? And did you set/unset `http_external_uri` and `http_publish_uri`?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/3X/c/7/c7c09c6b5099570133d6502b83f50ba4430de5b6.png) [@system](https://community.graylog.org/u/system)\
**Post date:** [August 19, 2019, 2:14pm UTC](https://community.graylog.org/t/unable-to-login-without-port/11465/3 "2019-08-19T14:14:26Z")

</div>

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