I was interested is using DBI:ProxyServer and DBD::Proxy in combination to access a remote SQLite database, so I coded up what I thought was a perfectly harmless test script to act as a server.
#!/usr/bin/perl -w # Server component of SQLite client/server prototype. use DBI::ProxyServer; { DBI::ProxyServer::main({ clients => [ '192.168.0.115' ], debug => 1, localaddr => '192.168.0.124', localport => 16000, logfile => '/tmp/Server.log', mode => 'fork', pidfile => '/tmp/Server.pid', }, @ARGV); }
Running this produced nothing in the log file (either as a regular user or as root), and netstat -at | grep -i listen did not show me that anything was listening on port 16000.
I haven't defined any clients, since this is just a test setup -- it's wide open (on my LAN, which is safe enough), and I haven't done anything to suggest which databsae this is going to connect to. Has anyone here used this module? Am I making some egregious error?
PS in case anyone else wants to try this module out, note that you'll also need to insatll Net::Daemon and RPC::PIServer, the latter of which is confusingly called PlRPC.
In reply to DBI::ProxyServer question by talexb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |