baiwyc119 / lxmppd

Automatically exported from code.google.com/p/lxmppd
0 stars 0 forks source link

component_interface is being ignored #347

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
OS Release: Debian 6 Squeeze (oldstable) 
Prosody Release: 0.9 nightly build 114 (2013-03-25, f833d2188c16) 

Hello, 

i'm trying to connect to prosody from another IP using spectrum2. 

I've set everything according to the Documentation on Components and reloaded 
the config (tried to just reload via telnet and restarting the service). 
http://prosody.im/doc/components 

component_ports = { 5347 } 
component_interface = "ipv4.of.prosody.server" 

When the spectrum2 gateway couldn't connect I tried to nmap and saw that - in 
spite of setting "component_interface" - Prosody only listens on localhost:5347 
but not on eth0. 

* Is there a way for me to solve this? 
* Do I need to provide more information? 

Best regards, 
Andreas 

PS: I've tried it using a port forwarding via ssh (ssh -L/-R) between the 
servers and everything works fine. 

Original issue reported on code.google.com by 1337ninj...@gmail.com on 23 May 2013 at 11:19

GoogleCodeExporter commented 9 years ago
Hi Andreas, thanks for the report.

Where in the config did you set these options? They need to be in the global 
section, above any VirtualHost/Component lines. See 
http://prosody.im/doc/configure#overview

Other than that, perhaps try upgrading to a more recent nightly (in 
sources.list, change 'stable' to 'squeeze'!).

Let us know how you get on.

Original comment by MWild1 on 23 May 2013 at 11:33