Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

PHP

Which ports are blocked on webhostingforstudents

I have a site that is currently hosted on webhostingforstudents when i am using phpmailer and send grid as my email service for handling mail on my local host which is mamp everything seems to be working perfectly but when my site is on the internet the connect method in the phpmailer library is not working i have been doing some tests myself can it seems the port numbers seem to be an issue i was wondering if ports 25, 2525 & 587 are blocked on this hosting provider here is the link to my site if you would like to see the error as well http://tunds.me/about/#contact

2 Answers

Tom Bedford
Tom Bedford
15,645 Points

Hi Tunde, here's a link to support on Web Hosting for Students - they could likely provide better information.

Any ideas Zac Gordon?

I have opened up a ticket with them on the issue already but thanks for the help

Does the hosting site have a mail server running? Also, you say the mailer works from your local machine; what mail server are you then using? The one at your ISP?

No im just running mamp on my machine and using sendgrid but when i move it onto my isp hosting the site it doesnt seem to work