Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › CentOS - SB/CP/Sanzbd accessible by localhost not IP
New Posts  All Forums:Forum Nav:

CentOS - SB/CP/Sanzbd accessible by localhost not IP

post #1 of 21
Thread Starter 
First off I am new to Linux but was looking for a small and efficient platform for my Esxi image. I loaded CentOS 6.5 with Sanzbd, Couchpotato, Sickbeard, ad headphones using this guide. . Everything is loaded and working correctly using localhost:xxxx but I cannot access via IP:xxxx. I can successfully ping and SSH into the image via IP so i can verify it is online and Ethernet settings are, for the most part, correct.

I also created a separate CentOS server used only to host a Plex Server and that is running without issues.

Where should I go from here? I found a post online that suggests modifying the /etc/hosts file but it didnt match 100% to what I have and i couldn't decipher it enough to be confidant on guess. Any advice would be helpful. goal is to get this server up and running and then Ill create another to test/play on.
 
ESXi Server
(10 items)
 
HTPC
(13 items)
 
CPUMotherboardGraphicsRAM
i7-4790K Asus Sabertooth Mark 2 Radeon HD 6950 GSkill Sniper Series 
Hard DriveCoolingOSMonitor
Samsung XP941 Noctura NH-D14 8.1 Pro QNIX 27", Dell 24", Samsung 22", Sony 24" 
KeyboardPowerCaseMouse
Corsair K95 PC&P 750 NZXT H2 Logitech G500s 
CPUHard DriveHard DriveHard Drive
Phenom II x4 965 WE Red Seagate Intel SSD 
Hard DriveCoolingOSOS
WR Raptor  Silenx Fans x2 120mm Win 7 x2 Unraid 
OSCase
pfsense Rackmount 16 bay hot-swap 
CPUMotherboardGraphicsRAM
i3 2100t Gigabyte integrated 2x 8GB GSkill 
Hard DriveCoolingOSMonitor
OCZ SSD Stock Win7 - Plex Shell Sony XBR2 
PowerCase
Generic 350 watt Repurposed Vidabox 
  hide details  
Reply
 
ESXi Server
(10 items)
 
HTPC
(13 items)
 
CPUMotherboardGraphicsRAM
i7-4790K Asus Sabertooth Mark 2 Radeon HD 6950 GSkill Sniper Series 
Hard DriveCoolingOSMonitor
Samsung XP941 Noctura NH-D14 8.1 Pro QNIX 27", Dell 24", Samsung 22", Sony 24" 
KeyboardPowerCaseMouse
Corsair K95 PC&P 750 NZXT H2 Logitech G500s 
CPUHard DriveHard DriveHard Drive
Phenom II x4 965 WE Red Seagate Intel SSD 
Hard DriveCoolingOSOS
WR Raptor  Silenx Fans x2 120mm Win 7 x2 Unraid 
OSCase
pfsense Rackmount 16 bay hot-swap 
CPUMotherboardGraphicsRAM
i3 2100t Gigabyte integrated 2x 8GB GSkill 
Hard DriveCoolingOSMonitor
OCZ SSD Stock Win7 - Plex Shell Sony XBR2 
PowerCase
Generic 350 watt Repurposed Vidabox 
  hide details  
Reply
post #2 of 21
Each service should have an IP address configured in its settings.
post #3 of 21
Thread Starter 
Quote:
Originally Posted by CaptainBlame View Post

Each service should have an IP address configured in its settings.

Do you mean the settings on the web interface? I have never had to touch these before.


>> Just tried changing the Sabnzbd host to the IP of the server, localhost, and 127.0.0.1 and it they only let me access from the server's VM . . I cannot access that image from my desktop or the other ESXi images.




EDIT>> I used this thread to guide the setup.
Edited by DanNEBTD - 3/2/14 at 9:39pm
 
ESXi Server
(10 items)
 
HTPC
(13 items)
 
CPUMotherboardGraphicsRAM
i7-4790K Asus Sabertooth Mark 2 Radeon HD 6950 GSkill Sniper Series 
Hard DriveCoolingOSMonitor
Samsung XP941 Noctura NH-D14 8.1 Pro QNIX 27", Dell 24", Samsung 22", Sony 24" 
KeyboardPowerCaseMouse
Corsair K95 PC&P 750 NZXT H2 Logitech G500s 
CPUHard DriveHard DriveHard Drive
Phenom II x4 965 WE Red Seagate Intel SSD 
Hard DriveCoolingOSOS
WR Raptor  Silenx Fans x2 120mm Win 7 x2 Unraid 
OSCase
pfsense Rackmount 16 bay hot-swap 
CPUMotherboardGraphicsRAM
i3 2100t Gigabyte integrated 2x 8GB GSkill 
Hard DriveCoolingOSMonitor
OCZ SSD Stock Win7 - Plex Shell Sony XBR2 
PowerCase
Generic 350 watt Repurposed Vidabox 
  hide details  
Reply
 
ESXi Server
(10 items)
 
HTPC
(13 items)
 
CPUMotherboardGraphicsRAM
i7-4790K Asus Sabertooth Mark 2 Radeon HD 6950 GSkill Sniper Series 
Hard DriveCoolingOSMonitor
Samsung XP941 Noctura NH-D14 8.1 Pro QNIX 27", Dell 24", Samsung 22", Sony 24" 
KeyboardPowerCaseMouse
Corsair K95 PC&P 750 NZXT H2 Logitech G500s 
CPUHard DriveHard DriveHard Drive
Phenom II x4 965 WE Red Seagate Intel SSD 
Hard DriveCoolingOSOS
WR Raptor  Silenx Fans x2 120mm Win 7 x2 Unraid 
OSCase
pfsense Rackmount 16 bay hot-swap 
CPUMotherboardGraphicsRAM
i3 2100t Gigabyte integrated 2x 8GB GSkill 
Hard DriveCoolingOSMonitor
OCZ SSD Stock Win7 - Plex Shell Sony XBR2 
PowerCase
Generic 350 watt Repurposed Vidabox 
  hide details  
Reply
post #4 of 21
that's your problem. 127.0.0.1 is the loopback interface. Set that to your IP of your CentOS server (or just 0 if you're feeling lazy)
post #5 of 21
Thread Starter 
Quote:
Originally Posted by Plan9 View Post

that's your problem. 127.0.0.1 is the loopback interface. Set that to your IP of your CentOS server (or just 0 if you're feeling lazy)

correct,I tried it on the server IP but it still remains inaccessible from any other machine. it just happened to be on 127.0.0.1 when I took the screen shot. I was verifying what did and did not work. {I read a post where someone could access via localhost but not 127.0.0.1 which is why I tested that}

>> Just confirmed "0" does not work either.

Just to confirm the screenshot was taken on the same machine that is hosting Sanzbd. I cannot access from my desktop or any other machine. I CAN telnet into the Sanbzd host server. I cannot access any of the programs themselves via the standard method SERVERIP:8080, SERVERIP:5050, etc. unless I am on the host image. I assume it is a configuration issue but I cannot find where to change as I followed that guide posted i my prev. post. I have been running these programs without fault on a Win7 image for 2 yrs so I am familiar with them.
Edited by DanNEBTD - 3/3/14 at 1:24am
 
ESXi Server
(10 items)
 
HTPC
(13 items)
 
CPUMotherboardGraphicsRAM
i7-4790K Asus Sabertooth Mark 2 Radeon HD 6950 GSkill Sniper Series 
Hard DriveCoolingOSMonitor
Samsung XP941 Noctura NH-D14 8.1 Pro QNIX 27", Dell 24", Samsung 22", Sony 24" 
KeyboardPowerCaseMouse
Corsair K95 PC&P 750 NZXT H2 Logitech G500s 
CPUHard DriveHard DriveHard Drive
Phenom II x4 965 WE Red Seagate Intel SSD 
Hard DriveCoolingOSOS
WR Raptor  Silenx Fans x2 120mm Win 7 x2 Unraid 
OSCase
pfsense Rackmount 16 bay hot-swap 
CPUMotherboardGraphicsRAM
i3 2100t Gigabyte integrated 2x 8GB GSkill 
Hard DriveCoolingOSMonitor
OCZ SSD Stock Win7 - Plex Shell Sony XBR2 
PowerCase
Generic 350 watt Repurposed Vidabox 
  hide details  
Reply
 
ESXi Server
(10 items)
 
HTPC
(13 items)
 
CPUMotherboardGraphicsRAM
i7-4790K Asus Sabertooth Mark 2 Radeon HD 6950 GSkill Sniper Series 
Hard DriveCoolingOSMonitor
Samsung XP941 Noctura NH-D14 8.1 Pro QNIX 27", Dell 24", Samsung 22", Sony 24" 
KeyboardPowerCaseMouse
Corsair K95 PC&P 750 NZXT H2 Logitech G500s 
CPUHard DriveHard DriveHard Drive
Phenom II x4 965 WE Red Seagate Intel SSD 
Hard DriveCoolingOSOS
WR Raptor  Silenx Fans x2 120mm Win 7 x2 Unraid 
OSCase
pfsense Rackmount 16 bay hot-swap 
CPUMotherboardGraphicsRAM
i3 2100t Gigabyte integrated 2x 8GB GSkill 
Hard DriveCoolingOSMonitor
OCZ SSD Stock Win7 - Plex Shell Sony XBR2 
PowerCase
Generic 350 watt Repurposed Vidabox 
  hide details  
Reply
post #6 of 21
A couple of things to check:
  1. Are you trying to access the server from the same NATing? (eg have you set up a port forward on your router if you're trying to access from the internet. Or if CentOS is running on a VM and if so, are you using a bridged adapter?)
  2. Do you have a firewall installed and enabled in CentOS? Whether that network firewall such as iptables, or an application firewall such as SELinux. And if so, have you double checked the rules to ensure Sabznbd traffic is enabled?
post #7 of 21
Thread Starter 
Quote:
Originally Posted by Plan9 View Post

A couple of things to check:
  1. Are you trying to access the server from the same NATing? (eg have you set up a port forward on your router if you're trying to access from the internet. Or if CentOS is running on a VM and if so, are you using a bridged adapter?)
  2. Do you have a firewall installed and enabled in CentOS? Whether that network firewall such as iptables, or an application firewall such as SELinux. And if so, have you double checked the rules to ensure Sabznbd traffic is enabled?

I am using a fresh default install of CentOS, i used the identical image to setup the Plex server which is working properly. I just checked and they are currently all stacked on the same VMNetwork/NIC and I am on the same network. eventually I will setup vlan and a separate nic but baby steps.... just trying to set it up for now.

Worst case I guess I'll re-setup centos or copy the Plex Server image and setup from there. . . . at the very least it would be good practice.
 
ESXi Server
(10 items)
 
HTPC
(13 items)
 
CPUMotherboardGraphicsRAM
i7-4790K Asus Sabertooth Mark 2 Radeon HD 6950 GSkill Sniper Series 
Hard DriveCoolingOSMonitor
Samsung XP941 Noctura NH-D14 8.1 Pro QNIX 27", Dell 24", Samsung 22", Sony 24" 
KeyboardPowerCaseMouse
Corsair K95 PC&P 750 NZXT H2 Logitech G500s 
CPUHard DriveHard DriveHard Drive
Phenom II x4 965 WE Red Seagate Intel SSD 
Hard DriveCoolingOSOS
WR Raptor  Silenx Fans x2 120mm Win 7 x2 Unraid 
OSCase
pfsense Rackmount 16 bay hot-swap 
CPUMotherboardGraphicsRAM
i3 2100t Gigabyte integrated 2x 8GB GSkill 
Hard DriveCoolingOSMonitor
OCZ SSD Stock Win7 - Plex Shell Sony XBR2 
PowerCase
Generic 350 watt Repurposed Vidabox 
  hide details  
Reply
 
ESXi Server
(10 items)
 
HTPC
(13 items)
 
CPUMotherboardGraphicsRAM
i7-4790K Asus Sabertooth Mark 2 Radeon HD 6950 GSkill Sniper Series 
Hard DriveCoolingOSMonitor
Samsung XP941 Noctura NH-D14 8.1 Pro QNIX 27", Dell 24", Samsung 22", Sony 24" 
KeyboardPowerCaseMouse
Corsair K95 PC&P 750 NZXT H2 Logitech G500s 
CPUHard DriveHard DriveHard Drive
Phenom II x4 965 WE Red Seagate Intel SSD 
Hard DriveCoolingOSOS
WR Raptor  Silenx Fans x2 120mm Win 7 x2 Unraid 
OSCase
pfsense Rackmount 16 bay hot-swap 
CPUMotherboardGraphicsRAM
i3 2100t Gigabyte integrated 2x 8GB GSkill 
Hard DriveCoolingOSMonitor
OCZ SSD Stock Win7 - Plex Shell Sony XBR2 
PowerCase
Generic 350 watt Repurposed Vidabox 
  hide details  
Reply
post #8 of 21
Dont wipe your sabnzbd box just yet. I think it's probably firewalling. Try the following:
Code:
setenforce Permissive
service iptables stop

then try to connect to sab again.
post #9 of 21
Could be firewall, but also try 0.0.0.0 instead to listen on all interfaces. Mine is like that and have had 0 issues. Binding to a specific interface can cause it's own problems.

post #10 of 21
Quote:
Originally Posted by herkalurk View Post

Could be firewall, but also try 0.0.0.0 instead to listen on all interfaces. Mine is like that and have had 0 issues. Binding to a specific interface can cause it's own problems.


I'd already suggested that and sadly it failed:
Quote:
Originally Posted by Plan9 View Post

Set that to your IP of your CentOS server (or just 0 if you're feeling lazy)
Quote:
Originally Posted by DanNEBTD View Post

Just confirmed "0" does not work either.

Edited by Plan9 - 3/3/14 at 8:09am
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › CentOS - SB/CP/Sanzbd accessible by localhost not IP