# Web display not work

**URL:** <https://discuss.dradis.com/t/web-display-not-work/316>\
**Category:** Community Edition\
**Created:** [May 16, 2016, 12:52pm UTC](https://discuss.dradis.com/t/web-display-not-work/316 "2016-05-16T12:52:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![trasla](https://avatars.discourse-cdn.com/v4/letter/t/35a633/32.png) [@trasla](https://discuss.dradis.com/u/trasla)\
**Post date:** [May 16, 2016, 12:52pm UTC](https://discuss.dradis.com/t/web-display-not-work/316/1 "2016-05-16T12:52:11Z")

</div>

Hi,

I installed dradis but the display web page not work.

With netstat -tlnp, I see redis port and dradis port to listen mode.  
With tcpdump I see any traffic on redis port.  
With tcpdump I see my web request (browser) to consult server:3000 page.

But in the browser I have failed connection.

nohup.output :

> Starting resque worker in the background…  
> [2016-05-16 14:38:26] INFO WEBrick 1.3.1  
> [2016-05-16 14:38:26] INFO ruby 2.2.2 (2015-04-13) [x86\_64-linux]  
> [2016-05-16 14:38:26] INFO WEBrick::HTTPServer#start: pid=5581 port=3000

netstat :

> tcp6 0 0 ::1:3000 :::\* LISTEN 5581/ruby  
> tcp 0 0 127.0.0.1:3000 0.0.0.0:\* LISTEN 5581/ruby  
> tcp 0 0 127.0.0.1:6379 0.0.0.0:\* LISTEN 5033/redis-server 1

tcpdump port 3000:

> IP client \> server : Flags [S], seq 1291713564, win 8192, options [mss 1460,nop,wscale 8,nop,nop,sackOK], length 0  
> IP server \> client : Flags [R.], seq 0, ack 1291713565, win 0, length 0  
> IP client \> server : Flags [S], seq 2269785266, win 8192, options [mss 1460,nop,wscale 8,nop,nop,sackOK], length 0  
> IP server \> client :: Flags [R.], seq 0, ack 2269785267, win 0, length 0  
> IP client \> server : Flags [S], seq 1291713564, win 8192, options [mss 1460,nop,wscale 8,nop,nop,sackOK], length 0  
> IP server \> client : Flags [R.], seq 0, ack 1, win 0, length 0  
> IP client \> server : Flags [S], seq 2269785266, win 8192, options [mss 1460,nop,wscale 8,nop,nop,sackOK], length 0  
> IP server \> client : Flags [R.], seq 0, ack 1, win 0, length 0

telnet :

> telnet IP 3000  
> Trying IP…  
> telnet: Unable to connect to remote host: Connection refused

In production.log, I have SQLite request.  
In resque.log, I have :

> I, [2016-05-16T14:38:25.321523 #5581] INFO – : Resque Logger Initialized  
> I, [2016-05-16T14:38:25.857777 #5599] INFO – : Resque Logger Initialized  
> I, [2016-05-16T14:38:26.714391 #5599] INFO – : Starting worker FQDN:5599:\*  
> I, [2016-05-16T14:38:26.735768 #5599] INFO – : Running before\_first\_fork hooks

ps aux output :

> dradis-3.1.0.rc2-linux-x86\_64/lib/ruby/bin.real/ruby -rbundler/setup /dradis-3.1.0.rc2-linux-x86\_64/lib/app/bin/rails server

Do you have any idea why I can’t display web page ?

Thanks

---

<div class="post-metadata">

**Author:** ![etd](https://yyz1.discourse-cdn.com/flex035/user_avatar/discuss.dradis.com/etd/32/5_2.png) [@etd](https://discuss.dradis.com/u/etd)\
**Post date:** [June 28, 2016, 1:18pm UTC](https://discuss.dradis.com/t/web-display-not-work/316/2 "2016-06-28T13:18:45Z")

</div>

Hi @trasla,

This line:

```
tcp 0 0 127.0.0.1:3000 0.0.0.0:* LISTEN 5581/ruby 

```

Makes me think the server is binding to `127.0.0.1` meaning you can only connect to it from within the same host. If you want to bind to other network interfaces (e.g. to access from outside a VM for example), pass the `-b` command, for example:

```
bundle exec rails server -b 0.0.0.0

```

If using running from a Git clone. Or

```
./dradis-webapp -b 0.0.0.0

```

If using the packages.

HTH,  
Daniel
