Posts Tagged ‘port’

What is an SMTP port

November 22nd, 2013, posted in PHP
Share

What port should you chose for your SMTP server when you’re setting it on a mail client?

Simply put, computer ports are the communication endpoints of a computer connected to a network. They are separated to differentiate the several processes and make it easier to handle them: so each one has a particular purpose and is associated to a specific protocol.

Usually an outgoing server employs port 25: it’s the default SMTP port. However, some IPs deny its use because of the massive spam and malware traffic by which is affected. This issue is raised in particular when you need to switch to another ISP – for instance, when you’re travelling and connecting to a new provider. In this case you can try to use port 587 or  port 465 to avoid the block.

SMTP server,SMTP ,server,port ,SMTP port,IP,website,development,turboSMTP

More in detail: port 587 is supported by almost every outgoing SMTP server and it’s useful for unencrypted or TLS connections; while port 465 is the right choice if you need to connect via SSL.

turboSMTP can work both on port 587 and 465, but also on 2525 and 25025. Moreover, it completely avoids the “another ISP” issue: in fact, once you have set our SMTP as default you don’t need to configure it again or switch to other ports.

Share

How to change XAMPP server port?

April 9th, 2013, posted in PHP, Windows
Share

How to change XAMPP server port?,port,xampp,xamp,wamp,windows,php,html,website making,website desiginning,ServerName

To Change The XAMPP Server Port Number

  1. Stop the XAMPP server, if it is running already.
  2. Open the file [XAMPP Installation Folder]/apache/conf/httpd.conf.
  3. Now search for the string *Listen 80 *(I’m assuming that your XAMPP was using the port 80. Otherwise, just search for the string ‘Listen’). This is the port number which XAMPP uses. Change this 80 to any other number which you prefer.
  4. Then search for the string ‘ServerName‘ and update the port number there also.
  5. Now save and re-start XAMPP server and you are done.

Why do we need to change the port number? Because, these days, it is very common that a web developer needs to have multiple web servers running, all at the same time. For example, an XAMPP server can be used to run the local WordPress blog, while a JBoss server also needs to be up for testing a java web applications. In such scenarios, if two or more servers are trying to use the same port number, then the late comer will fail to get the port. So, it becomes necessary to change any one server’s port number to avoid the conflict.

How to change XAMPP server port?,port,xampp,xamp,wamp,windows,php,html,website making,website desiginning,ServerName,port number

Share