Connection refused then trying to web host

Hello,

I am trying to web host from my own internet and my own computer because I don’t want to pay for a subscription (I already bought the 4$ domain) so I looked up instructions online on how to web host using apache. and I’ve accomplished things to a point where if I type in my computer-specific IP address from devices within my local network I can access the site I’ve made (which is in the sites folder), and I wanted this to be accessible outside my own router; so I set up port…

Connection refused then trying to web host

Add user to SSH – connection with file

I have a server Ubuntu 16 with 2 users (aaa, bbb). By default, I can access the server using this line:

ssh -i /home/some_user/PEM_Keys/key.pem aaa@127.0.0.0 Now, I need to be able to connect by using the bbb user:

ssh -i /home/some_user/PEM_Keys/key.pem bbb@127.0.0.0

I’ve tried doing those commands, but it doesn’t seem to work: mkdir /home/bbb/.ssh

mkdir /home/bbb/.ssh/authorized_keys

sudo chown -R "bbb:bbb" /home/frappe/.ssh

sudo chmod 0700 /home/bbb/.ssh

sudo chmod 0600 /home/bbb/.ssh/authorized_keys

sudo cp /home/aaa/.ssh/authorized_keys /home/bbb/.ssh/authorized_keys

The pem file that I’m using cannot be generated for the bbb user.

Any Idea?

Connection timed out issue at server , but code working fine at localhost [on hold]

I call some api using drupal_http_request(). At localhost it is working fine. but at server I got Connection timed out error where error code -110.

I set

ini_set('default_socket_timeout', 120); $  conf['http_request_timeout'] = 120; 

at my settings.php. But not working at server.

Error :

stdClass Object ( [code] => -110 [error] => Connection timed out )  

What would happen to the connection when certificate expires? [duplicate]

This question already has an answer here:

  • Does an existing SSL connection outlast the certificate's expiration 1 answer

We are using X509 certificate to connect between on-premise devices to the cloud services (Device provisioning service from Azure)

The expiry date of the certificate is 3 years from now.

Once the handshake is success between device and cloud, they send/receive messages continuously. So question, how does this connection verify if certificate is expired or not?

External Content Type Connection : illegal operation attempted on a registry key marked for deletion

when I add a connection to a sql server database in an external content type from Sharepoint Designer 2013 I get this error:

Retrieving the COM class factory for component with CLSID {BDEADDF26....} failed due to the following error: 800703fa illegal operation attempted on a registry key that has been marked for deletion 

I see that CLSID corresponds to

C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\ISAPI\OWSSVR.DLL

What’s wrong?

share vpn connection ( over internal wi-fi ) to usb wi-fi adapter ( set up as access point )

Ok, now it may be a little confusing..

I’m connecting to WiFi via my MacBook’s internal WiFi adapter. Then connect to my VPN..

I want to share this VPN connection over USB WiFi adapter ( I’m using Archer T2U )

  • First of all I couldn’t able to configure Archer T2U as Access Point at all.. The software driver doesn’t have an option like that. Though I did set it up as AP on Windows.

  • I could connect to WiFi via USB WiFi adapter. Then when I connect to VPN, it’s also connected. But when I try to share the VPN connection through internal WiFi, it’s not working. VPN drops connection and because VPN is dropped WiFi couldn’t find anything to share.

Is there any way to set up USB WiFi adapter as access point other than its’ software ( via command line or anything ).

Why does VPN connection drops when I try to share it over internal WiFi? It would work if the connection stays I think.

Disable systemd-resolved without spoiling my internet connection

I need to disable systemd-resolve from linux because I also need to use a dns server (powernds) and I think systemd-sersolve is blocking my dns server because when I delete the file /etc/resolv.conf My domain names are finally found by my browser, I’ve found some information on other fourums about how to do it so when I do it using this commands:

sudo systemctl disable systemd-resolved.service —— sudo systemctl stop systemd-resolved ——– sudo rm /etc/resolved.conf—– my doamin names are found by the browser but my intener connection drops.

So is it possible to disable ssystemd-resolve on linux without spoiling my intenert connection?,

I am no an expert, Any idea, thanks 😉

Disable systemd-resolved without spoiling my internet connection

I need to disable systemd-resolve from linux because I also need to use a dns server (powernds) and I think systemd-sersolve is blocking my dns server because when I delete the file /etc/resolv.conf My domain names are finally found by my browser, I’ve found some information on other fourums about how to do it so when I do it using this commands:

sudo systemctl disable systemd-resolved.service —— sudo systemctl stop systemd-resolved ——– sudo rm /etc/resolved.conf—– my doamin names are found by the browser but my intener connection drops.

So is it possible to disable ssystemd-resolve on linux without spoiling my intenert connection?,

I am no an expert, Any idea, thanks 😉

Ethernet connection setup fails

I have been working with a robot via ethernet connection for the past few weeks. Everything worked fine until today.

The robot (UR5) has a modbus/internet port with a ethernet cable connected to my laptop (latest version Ubuntu). The setup settings of the robot are:

  • ip address: 192.168.1.151
  • subnet mask: 255.255.255.0
  • default gateway: 192.168.1.1
  • preferred DNS server: 192.168.1.1
  • alternative DNS server: 0.0.0.0

When I try to ping the ip address of the robot I get:

$   ping 192.168.1.151 PING 192.168.1.151 (192.168.1.151) 56(84) bytes of data. From 192.26.169.225 icmp_seq=1 Packet filtered ^C --- 192.168.1.151 ping statistics --- 230 packets transmitted, 0 received, +1 errors, 100% packet loss, time 234474ms 

From

ipconfig

I get:

enp0s25   Link encap:Ethernet  HWaddr 28:80:23:d6:28:d5             inet6 addr: fe80::2a8d:3ae1:e449:1bc1/64 Scope:Link           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1           RX packets:130 errors:0 dropped:0 overruns:0 frame:0           TX packets:1258 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:1000            RX bytes:43570 (43.5 KB)  TX bytes:254399 (254.3 KB)           Interrupt:20 Memory:d0700000-d0720000   lo        Link encap:Local Loopback             inet addr:127.0.0.1  Mask:255.0.0.0           inet6 addr: ::1/128 Scope:Host           UP LOOPBACK RUNNING  MTU:65536  Metric:1           RX packets:8886 errors:0 dropped:0 overruns:0 frame:0           TX packets:8886 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:1000            RX bytes:1239779 (1.2 MB)  TX bytes:1239779 (1.2 MB)  wlo1      Link encap:Ethernet  HWaddr 80:86:f2:69:4d:08             inet addr:10.10.6.78  Bcast:10.10.7.255  Mask:255.255.252.0           inet6 addr: fe80::202:cd06:772f:14fd/64 Scope:Link           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1           RX packets:84136 errors:0 dropped:0 overruns:0 frame:0           TX packets:29266 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:1000            RX bytes:107879600 (107.8 MB)  TX bytes:5012810 (5.0 MB) 

How come the connection is suddenly lost?