SQL Developer 4.0.2 connection error 17002 on mac OS X - oracle-sqldeveloper

When I try to create a connection using SQL Developer 4.0.2 on MAC OS I got the following error message :
The Network Adapter could not establish the connection’ (ORA-17002) error.

ORA-17002 is a generic error code shown when the client cannot connect to the database. The actual fix can be found only if we have additional info.
You can start by troubleshooting the following.
1. Check if the database server can be pinged.
2. check if the port is accessible by running telnet.
3. check if there are any firewall rules blocking access to database.

run the below command in mac cli:
sudo scutil --set HostName localhost

Related

raspberry pi openvpn: ERROR: Cannot open TUN/TAP

I'm getting the above error when trying to connect to vpn given a .ovpn file. Usually this bug happens after an upgrade occurs and you haven't restarted yet. But I already did and the error still exists. I have tried reinstalling the openvpn (I'm using 2.4.7 on debian) and would not like to use this on docker.
Since getting this error when executing the command sudo openvpn file.ovpn often returns vague errors such as the one above, you can produce a more specific error when trying to import the ovpn file into NetworkManager instead.
After installing network-manager of course:
nmcli con import type openvpn vpn file.ovpn
Connect to the profile:
nmcli con up id vpn
Running this command would immediately show you a clearer error that is something along the lines of the org freedesktop networkmanager vpn plugin being unknown. Which is then solvable by installing the said plugin.
sudo apt install network-manager-openvpn
And that should do it.

Yarn: Error: connect ECONNREFUSED 127.0.0.1:443

When I install ELM via yarn, I get
-- ERROR -----------------------------------------------------------------------
Something went wrong while fetching the following URL:
https://github.com/elm/compiler/releases/download/0.19.1/binary-for-windows-64-bit.gz
It is saying:
Error: connect ECONNREFUSED 127.0.0.1:443
NOTE: You can avoid npm entirely by downloading directly from:
https://github.com/elm/compiler/releases/download/0.19.1/binary-for-windows-64-bit.gz
When I manually browse to https://github.com/elm/compiler/releases/download/0.19.1/binary-for-windows-64-bit.gz. I get
However other people can access the link and it downloads the file.
EDIT:
HOSTS File:
127.0.0.1 view-localhost # view localhost server
127.0.0.1 mydevsnapcap.com www.mydevsnapcap.com app.mydevsnapcap.com internal.mydevsnapcap.com
0.0.0.1 mssplus.mcafee.com
Edit
This use to work a few days ago.
More tests:
I cannot access it from my phone and pc using my fibre connection, but I can access it on both my phone and mobile using my mobile connection.
It turns out that it was my ISP that was for some reason blocking the link. I switch to using the google dns and all is good in the hood: https://developers.google.com/speed/public-dns/docs/using
Something in your computer or on your network is resolving the domain github.com to 127.0.0.1, i.e. localhost. Hence, everytime you attempt this access, it tries to reach a service running on the very same computer you're making the request from.
Check your DNS settings.
Check that there are no entries for github.com in the hosts file (on Windows C:\Windows\System32\drivers\etc\hosts, everywhere else /etc/hosts).
If you're running something like Pi-Hole on your network, check, that it doesn't catch github.com

Cannot Add PgAdmin New Connection on Ubuntu 15.10

After install pgAdmin III from Ubuntu Software Center, I opened it and it required to add a connection to a server. So I filled in information as below:
Upon clicking on Ok Button, it showed the error message
Error connecting to the server: could not translate host name
"http://127.0.0.1" to address: Name or service not known
As message indicated, I thought the postgres service was not started. Therefore, I went on go terminal console and start service by entering sudo service postgresql start, but it returned Failed to start postgresql.service: Unit postgresql.service failed to load: No such file or directory.
. What's wrong or missing for my pgAdmin III? I'm just using Ubuntu earlier and I have never this problem on windows. Thanks.
http://127.0.0.1 is more a URL, that field is looking for a host so simply remove the http:// to leave the localhost's IP address 127.0.0.1 or type localhost if that resolves to the correct address (it should, usually, via /etc/hosts or the like)
Also, Debian/Ubuntu tend to ship the database servers separately. For Ubuntu, the postgresql package (which requires postgresql-common) package should include /lib/systemd/system/postgresql.service therefore you should be able to sudo systemctl start postgresql
Do you have postgresql (as opposed to postgresql-client) installed?

IPython Notebook WebSocket connection failed

With Chrome/Firefox and IPython 1.1 under Windows 7 64bit I've got the error "WebSocket connection failed" on opening an existing IPython notebook if using automatic proxy configuration (with authentication) though the configuration file contains exception for localhost.
I poked a little bit around in Chrome (30) and found in the Javascript console (F12):
Kernel started: aec48410-068f-424f-8fc1-8fd229409e70 kernel.js:110
Starting WebSockets: ws://127.0.0.1:8888/kernels/aec48410-068f-424f-8fc1-8fd229409e70 kernel.js:143
WebSocket connection to 'ws://127.0.0.1:8888/kernels/aec48410-068f-424f-8fc1-8fd229409e70/iopub' failed: WebSocket is closed before the connection is established.
WebSocket connection to 'ws://127.0.0.1:8888/kernels/aec48410-068f-424f-8fc1-8fd229409e70/stdin' failed: WebSocket is closed before the connection is established.
WebSocket connection failed: ws://127.0.0.1:8888/kernels/aec48410-068f-424f-8fc1-8fd229409e70
Obviously the websocket server has been started and it is the right adress (same as output of ipython-notebook)
Any ideas? Thanks!
It is about proxy configuration: We have a proxy that needs authentication and it is normally automatically configured by a central configuration file.
In this file there is an exception for localhost but for some reason this does not work.
Manually configuring the proxy with authentication and adding localhost as an exception did the job. And that was the difference between Firefox and Chrome - I forgot that I configured them differently.
happened same with me. When I installed tensorflowjs, it downgraded my prompt-toolkit version to 1.0.14. To solve this issue just upgrade prompt-toolkit version to 3.0.5 by running the following code in your command prompt:
pip install prompt-toolkit==3.0.5
I ran into websocket closed/connection issues and zmq message arrived on closed channel when running jupyter notebook and jupyter lab. The issue was caused by running the xpython kernel. When I switched back to python3, all was good.

I'm getting error 'install_driver(Oracle) failed: Attempt to reload DBD/Oracle.pm aborted. Compilation failed in require at (eval 85) line 3

I've checked evrything using bugzilla. it says ok. but still not getting script running. The server I'm trying to connect is suse Linux. Oracle 10g server. I'm running cgi script on Windows x86 PC.
Thanks in advance.
i assume you have oracle driver installed on the windows machine and that the env parameters in windows is setup properly for oracle_home, tns_admin and that normal net8 capibilities all work to connect to oracle without perl first via sqlplus from the oracle driver/instant client. If not install either oracle instant client or oracle full client install. Then configure your oracle client to properly connect to the db and test that its working.