Hi, Ideally, you run your Vysper XMPP server under your own domain, for example xmpp.shibu.name. Then, all users should have accounts like [email protected]. This would make account config on the clients as easy as it gets, the requirement to specify server name and port vanishes.
However, if you are running on your own dev machine, on a virtual machine or on any box, you would use the "localhost", the IP or the DNS of that machine. The port is 5222 and will probably be chosen by default. In this cases, the accounts/logins would still be required to use "xmpp.shibu.name", as this needs to reflect the name given to the "new XMPPServer(...);" call. See also this URL for the original source: https://svn.apache.org/viewvc/mina/vysper/trunk/server/core/src/main/java/org/apache/vysper/xmpp/server/ServerMain.java?revision=1142805&view=markup Bernd On Mon, Jun 2, 2014 at 2:29 PM, Shibu Narayanan <[email protected]> wrote: > :) > I mean to ask, what are the parameters to use to connect... What settings to > set in pidgin for server name, port, etc...? > > > the below server code I got from the internet .... > > public class Trial_XMPP_Server { > > public void startServer() throws Exception { > > XMPPServer server = new XMPPServer("vysper.org"); > > StorageProviderRegistry providerRegistry = new > MemoryStorageProviderRegistry(); > > AccountManagement accountManagement = (AccountManagement) > providerRegistry.retrieve(AccountManagement.class); > > Entity user = EntityImpl.parseUnchecked("[email protected]"); > accountManagement.addUser(user, "password"); > > server.setStorageProviderRegistry(providerRegistry); > > server.addEndpoint(new TCPEndpoint()); > > server.setTLSCertificateInfo(new File("Trial_keystore.jks"), > "Password123"); > > server.start(); > System.out.println("Vysper server is running..."); > > server.addModule(new EntityTimeModule()); > server.addModule(new VcardTempModule()); > server.addModule(new XmppPingModule()); > server.addModule(new PrivateDataModule()); > } > > public static void main(String args[]) throws Exception { > Trial_XMPP_Server s = new Trial_XMPP_Server(); > s.startServer(); > } > } > > > > Shibu Narayanan > > -----Original Message----- > From: Bernd Fondermann [mailto:[email protected]] > Sent: Friday, May 30, 2014 10:20 PM > To: [email protected] > Subject: Re: connect to Vysper using pidgin > > On Fri, May 30, 2014 at 3:07 PM, Shibu Narayanan <[email protected]> > wrote: >> Is it possible to connect to Vysper using pidgin? > > Yes. > > Bernd
