Skip to main content

Posts

AWS - Message delivery to the remote domain failed for the following reason: The remote server did not respond to a connection attempt.

Error -  Message delivery to the remote domain 'gmail.com' failed for the following reason: The remote server did not respond to a connection attempt.  Amazon Web Services’  EC2  instances are throttled on port 25 by default as a spam prevention measure. This can cause connection issues when attempting to use SMTP to relay emails through Postmark in your EC2 instance. There are a couple ways to resolve this issue so that you do not receive connection errors when using Postmark in your EC2 instance.  How do I remove the throttle on port 25 from my EC2 instance? Issue I'm having trouble sending email over port 25 of my Amazon EC2 instance, or I'm getting frequent timeout errors. How do I remove the port 25 throttle on my EC2 instance? You can request Amazon Web Services to remove the throttling on port 25 using the Request to Remove Email Sending Limitations  form.  Note: you must sign in with your root account credentials . Amazon ...

AWS - Enabling Enhanced Networking with the Elastic Network Adapter (ENA) on Windows Instances

AWS - Transfer the AWS EC2 Instances to ENA instances Tags – Transfer m4 to C5 family, Transfer m4 to m5 family, Transfer m4 to R4 family, transfer to ENA instances Steps are as follows: 1.     Install and configure the  AWS CLI  or the  AWS Tools for Windows PowerShell  on any computer you choose, preferably your local desktop or laptop. For more information, see  Accessing Amazon EC2 . Enhanced networking cannot be managed from the Amazon EC2 console. 2.     Configure the AWS Command Line Interface , use the  aws configure  command $ aws configure AWS Access Key ID [None]: AKIAIOSFODNN7EXAMPLE AWS Secret Access Key [None]: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY Default region name [None]: us-west-2 Default output format [None]: json 3.     Take an AMI of the Instance to have as a backup 4.     Install the driver to the instance 5.     Stop the In...

WordPress line break not Working

Many WordPress users struggle around this issue of WordPress line break not working. In this article, we discuss some of the possible ways to get around this issue. 1. Use empty classes in HTML Elements You can make WordPress assume that your HTML elements contain certain attributes. This can be done by Adding attributes to the HTML elements with the use of empty classes. For example: Avoid writing: <p> <br> <span> Instead, write: <p class=""> <br class=""> <span class=""> 2. Disable Autop formatting The  Autop() function  in WordPress auto formats the paragraphs. The WordPress line break not working is due to the presence of a filter called “wpautop”. The “wpautop” filter executes whenever the content of a blog post is rendered. We can easily use the  remove_filter function  to disable the  wpautop filter . In the functions.php file you need to add the following code: remove_filter ('the_conten...

How to Disable WordPress Admin Bar for All Users Except Administrators

Disable Admin Bar for All Users Except for Administrators Paste this code in your theme’s functions.php file add_action( 'after_setup_theme' , 'remove_admin_bar' ); function remove_admin_bar() { if (!current_user_can( 'administrator' ) && !is_admin()) {    show_admin_bar(false); } } Disable Admin Bar for All Users If you want to disable it for all users, then simply put use this code in your theme’s functions.php file add_action( 'after_setup_theme' , 'remove_admin_bar' ); function remove_admin_bar() {    show_admin_bar(false); }

Wordpress media library not loading images

WordPress media library not loading images or Images are not displaying the images: Main cause of this issue is the plugin conflict, so please deactivate the plugin one by one and check that your issue resolved or not. WordPress always update it's software to avoid or overcome issues and it is depreciating the old functions. but some of our plugin using these functions and create problem. So in that case please update the plugin if possible otherwise deactivate it .

How to open iframe external link in parent window

To open a link in the parent window inside a Iframe you can use the one of the below methods: If We wants all the link to open in the parent window then use the below tag in the header: < head >< base target=" _parent ">< base ></ head >   We can also use the tag target =" _parent " in < a href=" aboutus " target=" _blank "/> tag   We can also use javascript parent.document.location.href = " http://example.com ";