SSL WITH IIS 10 - windows

I set up a site on IIS 10 by installing the certificate, I am facing this problem, this is my binding in IIS
www.namesite.it: 80
www.namesite.it: 443
namesite.it: 80
namesite.it: 443
this is the scenario:
https://www.namesite.it -----> IT WORKS
https://www.namesite.it/pricing.aspx ----> IT WORKS
https://namesite.it/ -------------------> IT WORKS
https://namesite.it/pricing.aspx ---> Error "The connection is not private" NET:: ERR_CERT_COMMON_NAME_INVALID
Did I do something wrong with IIS?
Thank you

Related

Mac OS local proxy, connect ECONNREFUSED ::1:3000

I have a create-react-app app running on localhost:3000 and a proxy server running on localhost:4000 that redirects some of my request to port 3000.
Requesting localhost:3000/ correctly returns index.html file,
Requesting localhost:4000/ returns connect ECONNREFUSED ::1:3000 with 502 code.
The exact same setup works properly on Ubuntu (returns index.html from localhost:4000) and Windows so I am sure proxy works fine.
Proxy is built using https://www.npmjs.com/package/http-proxy but i was unable to find any solution to this in documentation.
My question is: Does mac require changing some extra settings to allow this kind of traffic?
One solution is to edit /etc/hosts and remove ::1 localhost mapping or change it to ::1 ip6-localhost (default setting on ubuntu)

XAMPP PHP - Send Mail

I wanna ask if my xampp version affects the sending of mail through xampp? I already configured php.ini and sendmail.ini
with
smtp port = 587 or 465
auth_password as my app password in my google account
It's not a problem now in the configuration now that this error already disappeared:
mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set()
What is the problem now?

Xcode Server is unavailable

I am trying to setup CI on an Xcode Server. I have a Mac running OSX Server with Xcode Services up and running (seems to be working). The Mac is hosted in the cloud.
When I try to add the server to Xcode on my local Mac dev machine, it says "Xcode Server is unavailable". What "server address" do I use. I tried the IP address as well as the machinename.companyname.com address.
Note I have enabled the "file sharing" service and this works fine using machinename.companyname.com.
I configured my router to forward the relevant traffic to the server. This process is called port forwarding.
Opening these ports worked for me
Protocol Port Range ---- Comment
TCP 22 ---- ssh
TCP 80 ---- http
TCP 443 ---- https
TCP+UDP 3690 ---- svn
TCP+UDP 9418 ---- git
TCP+UDP 20300 ---- xcode1
TCP+UDP 20343-20345 ---- xcode2
reference: https://support.apple.com/en-ae/HT202944
I am having the same problem you are. My server is not in the cloud, but it is setup to be accessible outside of my network. I am able to add my server because it is seen by Bonjour. Everything works fine that way. However, I can't add the server by using the IP or the www address.
I've verified that TCP ports 22, 80, and 443 are forwarding correctly. I also have TCP/UDP 3690 and 9418 forwarded correctly.
One thing I wanted to add is that I can add repositories that exist on the server without issue. It is just adding the server that is causing a problem.
I have filed a bug report with Apple and will comment back here as soon as I get a response.
I think I solved my own problem. After upgrading to Xcode6, need to upgrade to Yosemite too. Don't know why but this seemed to fix the issue.

Could not connect to SMTP host: localhost, port: 25. Telnet says 220 localhost ESMTP server ready

I am using XAMPP for deploying my java application in tomcat and also using mercury mail to send emails. Now i am just testing my application with a small java program using java mail API and mercury email. I have done the necessary configuration in Mercury to setup localhost. Now when running the java program..its says
javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 25;
nested exception is:
java.net.SocketException: Network is unreachable: connect
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1962)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:654)
While my XAMPP Mercury Server is up and running with following port numbers
25, 79, 105 , 106, 110, 143, 2224
I also tested telnet command...result is as follows..
telnet localhost 25
220 localhost ESMTP server ready.
Now I'm stuck. Since i am working from my university lab and Symantec End Point Protection is installed on the systems so i cant even check if the Firewall is causing any problems....
It's almost certainly Symantec End Point Protection that is causing the problem. Probably your university doesn't want you running your own mail server.

FTP 550 ActionNotTakenFileUnavailable on IIS7.5

At a customer project: they get the 550 FTP error code (ActionNotTakenFileUnavailable) when performing the LIST and NLST command. Has anybody seen this before?
Server info:
It runs in IIS 7.5 on Windows Server 2008 R2.
In IIS log I found the sc-win32-status code: 1236 (the network connection was aborted by the local system) and the sc-win32-status code: 4294967295 (max connection setting in IIS).
Basic authentication is ON and they use No SSL certificate
Client info:
They use Filezilla to connect to FTP server

Resources