Windows server 2019 Unable to communicate with public ip

Souri Bhowmick 96 Reputation points
2021-07-03T15:50:47.077+00:00

I have a Windows Server 2019 running IIS, AD, and DNS services. It is able to communicate perfectly in the internal network but not able to communicate with public IP. I have forwarded the required ports in the modem and configured firewall rules. Is there something else which I need to do?

Internet Information Services
{count} votes

Accepted answer
  1. Souri Bhowmick 96 Reputation points
    2021-07-10T13:28:56.97+00:00

    I am working with a co-worker on this. Port 3389 works now, No other port is working. I have tested with a windows server 208 and it works on that.
    I am trying to host multiple websites and access them through the internet with the help of a domain name. I already have a domain name so I just require to create a subdomain internally and host the wesites.


3 additional answers

Sort by: Most helpful
  1. MotoX80 33,636 Reputation points
    2021-07-03T16:36:50.183+00:00

    I have forwarded the required ports in the modem and configured firewall rules.

    So are you trying to allow other machines on the internet to access this WS2019 server? (As a server to respond to inbound connections using port forwarding settings on your internet connected router.)

    Is your server able to browse web sites on the internet?

    To verify your port forwarding settings, use https://canyouseeme.org/ to verify that internet based machines can connect to the port that you are trying to expose. Use the netstat command to verify that some process is listening on that port.

    netstat -aon | findstr -i listen
    

    Temporarily turn the firewall off to verify that the rule you defined is correct.


  2. Jiang Zhang 786 Reputation points
    2021-07-06T05:51:25.02+00:00

    Hi,

    You may try MotoX80’s method, by checking listening port, firewall and forwarding rule stuff, or you can check if the gateway/router in your server is configured properly as well. If everything is fine, it’s better to forward an error message when the server is unable to communicate with public ip. Is that total Blank, Time Out, Bad Request, Cant Open The Page or anything else? More details will help for sure.

    Accurately the most precise way is to run some Wireshark traces to confirm what is happening.

    Best Regards,
    Mulder Zhang

    --------------------------------------------------------------

    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  3. Souri Bhowmick 96 Reputation points
    2021-07-10T05:28:50.243+00:00

    It seems to be an issue with the firewall as the firewall is not allowing the ports to communicate with the public network. I have disabled the firewall and tried but still same error. Somehow by changing some firewall rules(allow edge traversal), I was able to make RDP work but other ports are still not accessible. I get site can't be reached error.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.