Can't access SSRS Report Server using Host Name - reporting-services

I have a local installation of SSRS Report Server (2017). If I try and access the reports portal using http://HostName/Reports I get a "This page can't be displayed" error. If however I use http://localhost/Reports the portal loads. I have a separate issue and by solving the issue described I'm hoping that this other issue will resolve itself.

Open a Command Prompt - Start Menu -> cmd and type:
hostname
to check if you have the hostname correct. If you do, open the
C:\Windows\System32\Drivers\etc\hosts
file in notepad and check if there are any lines relating to your hostname or local ip.
If not, then go back to command prompt and do
nslookup
then type your hostname
[HostnameFromAboveStep]
and see which IP Address is reported, then type
ipconfig
and see which IP you actually have

Related

Can't connect to MySQL server on AWS. AWS says access denied to client and replaces the AWS hostname with local IPv4 address

I am unable to access an AWS server on various software -- Microsoft Remote Desktop, MySQLWorkbench and DBeaver. The credentials are correct and the same as those of my teammates and they are able to access the server. It resolves the hostname to be the IP address and not the host address, which is strange. In the dialog box attached, it should say that Access is denied to admin# but it says admin instead.
I have tried uninstalling and installing MySQLWorkbench multiple times. I uninstalled and installed the mysql library. I have tried changing the my.cnf files but that doesn't help either. I have a suspicion that it may be something on the server-side (AWS). I looked at the AWS console and it allows access to all IP addresses. I have tried a lot of things and still face the issue of the hostname being resolved to the local IP.
Can you please help me out?
enter image description here

Google Compute Instance RDP Fails (after working for years)

Apologies if this is a bit basic:
I have a Google Compute Instance running Windows Server 2012 R2. It has a valid admin account and password (checked via gcloud). The external IP address can be pinged, the system has been stopped and started successfully. The gcloud commands execute successfully etc etc.
If I try to RDT in I get the unsuccessful message. If I use the RDT (Chrome) option in the Google Cloud Platform admin page I get this message:
In order to use the Chrome RDP Extension, you must configure VM
instance so that it has an external IP address, username and password.
Note: You must configure the network firewall to open TCP port 3389 to
enable RDP access.
Note that ALL of the above are correct and confirmed.
I am sort of going round in circles, I've tried to use powershell on a windows system to RDT in to no avail. Again, using the built in Bash serial access I can get to the system and, for example, retrieve the admin account and password, BUT RDT FAILS.
I have tried using the powershell command Enter-PSSEssion... and I initially got a winrm error, apparently the IP address needs to be in trustedhosts. Fixed that and now I am getting a message that I need to verify that winrm is running on the destination computer, catch 22, that's why I'm using winrm, to access the destination computer.
Any ideas what I might try next?
Thanks.....
create a rdp network tag for firewall rule, which allows tcp:3389 ingress and and then apply it to the instance in question... someone (assuming you're at work) might have removed/edited these rules trough the console or gcloud command.

Login to EC2 server to create MySQL database

I had a friend create an AWS account and an EC2 instance after which he gave me the username and password to login. I am having a lot of trouble getting into the server with the information he gave me. I'm new to amazon services so I'm not sure if I'm doing something wrong or not. I seem to be able to login using PuTTy, but it doesn't prompt me for a password, I just get through with the username alone. copying the ip into a browser just gets me a "This webpage is not available"
message. He also gave me the key file but I'm sure where to use it.
Anyone know how I can get into the server to modify the database?
If there is a message 'This webpage is not available' then it could be there is no HTTP server running on port 80, or the security group configured on the EC2 instance is set to deny connections to port 80. If it is a new instance, there probably isn't a firewall configured locally to deny connections.
If you are sure there is a server running on port 80, you can use these instructions to tunnel through SSH
Set up your PuTTY window like this, and hit the Add button
Navigate to http://127.0.0.1 and you should see the web server if there is one running, if you can navigate using this way, you have a problem with your security group configuration. If you cannot, you do not have a HTTP server running to connect to. If there is not one running (and I am assuming you wish to use phpMyAdmin), you may have to set up apache and install phpMyAdmin
As you connect without a password, do you receive a line along the lines of
'Authenticating with public key "unipc-rpi"' or mentioning 'Pageant', because it means that instead of a password, PuTTY is authenticating using a public key and not a password.

No sql server database connection with localy used IIS

i am trying to get a database connection through my IIS with an MVC Webproject.
In my Web.conf connection string i use following parameters:
data source=[Computername]\[DatabaseInstanceName]
This doesn't work for me.But when change the [Computername] to my IP-Adress it works.
Somebody with an idea what i can do? Because it's annoying to change this everyday in several files.
edit: i am using the IIS 8
There are several ways I verify my connection
1) If you are using visual studio,
a) on the Data menu click on Transact-SQL Editor and check this dialog
b) Another trick is I try to create a datasource, follow the dialog box and copy the connection string that Visual Studio generate
c) If look at the Server Explorer and you can find your database there, right click the database and click Properties
The computername needs to be accessible to the machine. Currently only the IP address works because nothing is telling the system that myComputerName is the machine located at the IP address.
You can either add an entry to your hosts file or to a local DNS server if one is used. If adding to your hosts file (it'll be somewhere like C:\Windows\System32\drivers\etc) and you'll need run your text editor as an Administrator. The entry will look something like this:
192.168.1.1 JSCWorkstation
(obviously change the IP and computer name to your actual values. If the database is running on the same machine as the application you can use the local loopback address (127.0.0.1) as the IP for the entry.
If you are in an environment with a local DNS server you can ask an administrator to add a similar entry in the DNS server.
Once this is done your machine can be found by name rather than by IP address. You can test by opening up a command prompt and typing
ping myComputername. If you get a reply, all is well.

When trying to connect through a proxy server TortoiseHg for Windows says "SSL error: unknown protocol"

The scenario:
You're behind a proxy server on Windows. You've configured TortoiseHg to use a proxy server; that is you've entered a server name/IP and port number. You are able to connect to the internet using Internet Explorer. But when you try to pull or push and it produces the error message "SSL error: unknown protocol".
(I plan to answer this myself.)
The cause is that Internet Explorer is using an automatic proxy configuration script and TortoiseHg is using a particular proxy server. IE is not using the same proxy server because the automatic script picked a different proxy server.
The solution is to enter the proxy server used by TortoiseHg in IE's connection settings, or figure out which proxy server you're using at the moment and tell TortoiseHg to use that one. You may need to browse an external web site before TortoiseHg can connect.
You can figure out which proxy server you're using by browsing with IE and then running the DOS command:
netstat
and you'll see some connections in the Foreign Address column on port 80 or 8080 (common proxy server ports).
In addition to your excellent tip, I offer one more...
If your company is using an automatic proxy script, then the proxy used for web browsing may not be the one you need for Mercurial. Thus if you try the proxy you find via netstat, and you get "getaddrinfo failed" errors in tortoise, then try this...
Get the proxy script address: IE->config->Internet Options->Connection->LAN ?Settings. Copy the url from the "Address" box.
Browse to that address and save the file to disk.
Open that file in notepad and scroll to the end, it probably ends with something like-- return "PROXY ipaddresshere:port" that's the IP and port you need.
Plug that IP and port into tortoise: right-click the repo, click settings, click proxy, put the ip and port into the Host field. I generally don't need user and password so try without it first.