On Aug 18, 1:46 pm, djibson <[email protected]> wrote: > Hi, > > I'm using mwlib and mwlib.rl on a Centos 6 box with MW 1.16.4 > I've installed everything with no error, but when rendering the > articles to PDF (or ODT), i'm getting the following error: > > The POST request tohttp://127.0.0.1:8899failed (Failed to connect to > 127.0.0.1: Permission denied). > > The mw-render server is launched with the command: > # mw-serve --protocol=http --port=8899 > > After lauching that command, the only output i'm getting is: > # mw-serve --protocol=http --port=8899 > 2011-08-18T13:26:59 mw-serve.info >> serving http on 0.0.0.0:8899 > > there is no other output even when i'm trying to create a book from > the wiki. > > There is no firewall running (iptables is flushed and stopped / no > ipv6 support), and a telnet to that socket seems working. Here's the > telnet output: > # telnet 127.0.0.1 8899 > Trying 127.0.0.1... > Connected to 127.0.0.1. > Escape character is '^]'. > > The parameters of Collection extension in my LocalSettings.php are: > ..... > require_once("$IP/extensions/Collection/Collection.php"); > $wgEnableAPI = true; > $wgEnableWriteAPI = true; > $wgCollectionMWServeURL = 'http://127.0.0.1:8899'; > $wgHTTPTimeout = 30; > $wgServer = "http://127.0.0.1";
please set wgServer to some symbolic name, not localhost and not 127.0.0.1. mw-serve doesn't allow those. -- Cheers Ralf -- You received this message because you are subscribed to the Google Groups "mwlib" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/mwlib?hl=en.
