XMPP ejabberd server is not able to connect gtalk server [closed] - xmpp

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I have configured ejabberd server on localhost. I am able to connect to local host like admin#localhost, but i am not able to connect gtalk server. Some one please help me how to connect to gtalk server.
Thanks in advance,
sathi

In order for you to talk to GoogleTalk, they have to be able to talk back to you using Dialback. There are several steps you'll need to do:
Rename your server to a fully-qualified domain name. (e.g. example.com)
Open a hole in your firewall in both directions to your server on port 5269/tcp.
Add an SRV record to your DNS pointing at that firewall hole. If your domain was example.com, your SRV might have _xmpp-server._tcp.example.com pointing to 10 0 5269 myserver.example.com.
At some point in the future, you may also need an X.509 certificate for doing TLS.

I almost lost hope, but this thread was really helpful:
Short summary - disable google apps for domain, it can be the reason of getting 404 errors in ejabberd log.

Related

Redirect port 80 to my home server [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I installed Ubuntu server 16.04 on one of my computer to setup a web server. I want to install Phabricator to manage a video game project with some friends. I'm trying to configure my router (Home Hub 1000 from Bell) to redirect port 80 to this server. The problem is that it doesn't work at all. I can access to my web page from a computer on my local network with the name of the computer, but not from the outside using my IP address (the one used by my router). I added my server to DMZ and I had set up a port forwarding (Protocol: Both, Internal port: 80, External port: 80). My server use a reserved IP address configured on my router.
Thanks for your help.
Besides of a reserved local ip-address, it is useful to have a static ip-address from your provider(because they might change your ip once and a while). You can find your ip on whatismyip.com
When both port forwarding and DMZ are configured in your router, you can look if there is firewall on your server which blocks the external requests.

Communication between two computers using an Internet Browser and Sockets? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
How may I create a socket on my computer that could be reachable from other computers via internet, and work like a web server, maybe using WebSockets?
By the way: could my web server become visible from the Internet and how?
I know I can install a LAMP web server on my computer (my OS is Ubuntu) and use it for a local network.
I know I can use sockets to let 2 computers communicate via internet using their IP addresses (I did it in Java).
You can make your LAMP server stack accessible from the internet by forwarding ports from your external internet connection to the computer the server stack is running on. If you're doing this at home, you can usually handle port forwarding from the admin interface for your router/modem.
Alternatively, WebRTC is a newer web technology (still in the testing phase) that allows two browsers to connect to each other without the need for an intermediate web server.
Browser does not permit raw sockets.
You can not create a socket from browser, because it would be security hole.
For example you download a page from internet and script on this page opened all sockets on your computer.
Websockets it is technology on top of TCP protocol.
Using Websockets you can connect two browsers to a Websocket server and exchange information via this server.

unable to send mail when using 3G, but working normally on WIFI [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I am using Hmailserver as a mail server, and it is working normally for mail clients using a standard internet connection (wired or wireless).
But when using a mobile device in 3G mode, suddenly it is not possible to send emails anymore. In the mail client there is a non saying error message (such as unknown error ocurred). Is there any reason for this?
It is quite hard to say; however, e-mail usually travels over port 25 when using SMTP. Likely your 3G provider is blocking outgoing port 25 connections.
You can verify this by using telnet (a Google for "Windows telnet" will provide some Microsoft documentation) to connect to a well-known mail server (these are advertised in DNS MX records). On Windows, I believe the syntax at the command line would be: "telnet <host> 25" (for Google a valid mail-host is alt2.aspmx.l.google.com).
If your provider is blocking port 25 traffic, you will see a connection denied message. Usually ISP's prefer you connect to their SMTP server -- so that they can prevent SPAM from emanating from their network.

Change smtp outgoing port on PostFix [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I have PostFix set up and everything is working, except I can't send emails. Now I know most ISPs ports block port 25, as can be seen in this error log entry:
Jan 2 04:29:08 mail postfix/smtp[5835]: connect to gmail-smtp-in.l.google.com[74.125.134.27]:25: Connection timed out
but I know there are alternate ports, like 587. How do I change PostFix so that it tries to connect to gmail-smtp-in.l.google.com on port 587 instead of 25?
This post explains you how to “Sending Mail using SMTP and PHP” using SMTP credentials. In this post will show you how to send email using Gmail’s SMTP server. You need to install two pear packages, Mail and SMTP. Code is quite [self-explanatory][3]. example ...

how to I send an email from the command line on windows [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 13 years ago.
Improve this question
I would like to send emails from a cmd batch file on windowsOne of my chalanges is that I don't have an smpt server, I'm using an microsoftexchange server in an internal network (no internet connection).
Plz help,
Thanks.
PS:
I do not want to use BLAT becuase it requires an SMPT server which I do not possess on my internal network.
MS Exchange Server is an standard e-mail server and uses SMTP protocol anyway connected to the Internet or only on a local network.
Try BLAT
Update
If you don't have file access to your server and you don´t want to use SMTP you need another protocol to communicate with the server (ftp, http, ssh), don't you ?
You could get the exchange server configured for SMTP relay from the internal interface, but that doesn't solve the whole story. To send from the command line you'd need a third party application like Blat or similar.
I built an app to do this once, but I can't find the source right now (it's on an old machine).
However, it was based on the sample code found here on Code Project...
http://www.codeproject.com/KB/IP/cmapi.aspx
If you have access to your Exchange server you can just dump an *.eml file into the pickup directory. I mean your CMD file can create an EML file and then copy it to the pickup directory on the Exchange server.