Latest Server related questions

Score: 0
Anton Taras avatar
Docker container has no internet ... GoDaddy hosting
kr flag

It's GoDaddy hosting (Linux 4.15.0-176-generic #185-Ubuntu)
docker 1.5-1build1


$ docker pull busybox
$ docker run busybox ping -c 5 google.com
PING google.com (142.251.33.206): 56 data bytes

--- google.com ping statistics ---
5 packets transmitted, 0 packets received, 100% packet loss

$ docker run busybox wget -t 1 -T 1 google.com
Connecting to google.com (142.251.33.206:80)
wget: download timed ou ...
Score: 0
Itayi Penda avatar
MIKROTIK MULTIPLE PUBLIC IPs PORT FORWADING USING ONE ISP
br flag

How can I configure mikrotik router to use two public IPs at the same time from a single isp for my centos webserver panel. .co.zw domain allows two different nameservers to have two different public IPs to be authoritative. For example I have the ip 197.221.242.52/30 and ns1. - 197.221.242.52 and ns2 -197.221.242.52. How can these resolve using one or two mikrotik routers at the same time using one isp ...

Score: 0
Richard avatar
Can I stop a SPF SOFTFAIL in Gmail when sending to and from addresses that have a mail alias?
in flag

I have a vanity domain (mydomain.com) hosted by Gandi and configured with mail aliases for my family that point to our respective Gmail addresses:

and so on.

Gmail is configured to send email as the vanity address and I also have a SPF record set up:

v=spf1 include:_spf.google.com include:_spf. ...
Score: 0
Oauth2 Autoscaling
br flag

I am wondering if any one can point me in the right direction.

We are using the following package https://github.com/asciisd/zoho to connect to a third party CRM using an OUATH token.

We are also building an auto scaling group using AWS.

I am wondering, what is the best practice for using OAUTH in an autoscaling group. Should the token and subsequent refresh tokens be stored in a key store/S3/RDS in AWS  ...

Score: 0
Docker container eating space over time in my EC2
jp flag

I've installed only Hasura and a Postgres database (yes yes, I'll change it) in 1 docker container each. The containers themselves don't use much space, but my overall storage space is rapidly being used up each passing day! I have no idea why, I'm pretty new to this.

Using Ubuntu 16.0.4 in AWS EC2.

Results of docker ps as

015ff0c04b91        hasura/graphql-engine:v2.2.1   "graphql-engine serve"   ...
Score: 2
Shubham Panchal avatar
Redirect to other server and domain if file not found
sd flag

I have migrated from Apache to Nginx so I want to set all rules in Nginx.

Goal: Redirect a URL to another domain with the same filename if that file is not found on the requested server.

Example

If a user open https://www.example.com/data/1.jpg then my server will try to find "1.jpg" in "data" dir. If that file is not found then redirect the user to backup server URL like https://www.example2.com/ ...

Score: 0
How do I run two Nginx Web Servers on the same machine?
br flag

I want to host a website and run a microservices project on my own server.

  1. The website will be run with the Nginx web server. The domain of the website will look like that sampleapp.com and this website will use freessl.

  2. One of the services of the Microservice project will be run with Nginx web server as a service in a docker container. This service uses subdomains of my sampleapp.com such as api-dev ...

Score: 0
milad-gh avatar
how to find Link-local (APIPA) address of another computer which is directly connected to my PC
cw flag

My task is to SSH into an embedded (linux) computer system from my PC. I have connected my PC directly to an embedded computer using LAN cable, both computers are configured to get IP address using DHCP.

Once the cable is plugged in, my PC gets a link-local IP address like: 169.254.11.114 . The embedded computer doesn't have any monitor, keyboard connected to it so I cant see its IP address.

I'm car ...

Score: 0
Andrey Obruchkov avatar
iptables forward tcp port to another port on same host after connection already established
in flag

i have a tcp server that prints messages it gets(without sending back) on port 1234 and another tcp server on port 5678. i have a client that already communicates with the 1234 server and i want to redirect it to the 5678 server.

i know how to redirect packet (with the connection request) ip tables -t nat -I PREROUTING -p tcp --dport 1234 -j REDIRECT --to-ports 5678 but it not works if the connection a ...

The Stunning Power of Questions

Much of an executive’s workday is spent asking others for information—requesting status updates from a team leader, for example, or questioning a counterpart in a tense negotiation. Yet unlike professionals such as litigators, journalists, and doctors, who are taught how to ask questions as an essential part of their training, few executives think of questioning as a skill that can be honed—or consider how their own answers to questions could make conversations more productive.

That’s a missed opportunity. Questioning is a uniquely powerful tool for unlocking value in organizations: It spurs learning and the exchange of ideas, it fuels innovation and performance improvement, it builds rapport and trust among team members. And it can mitigate business risk by uncovering unforeseen pitfalls and hazards.

For some people, questioning comes easily. Their natural inquisitiveness, emotional intelligence, and ability to read people put the ideal question on the tip of their tongue. But most of us don’t ask enough questions, nor do we pose our inquiries in an optimal way.

The good news is that by asking questions, we naturally improve our emotional intelligence, which in turn makes us better questioners—a virtuous cycle. In this article, we draw on insights from behavioral science research to explore how the way we frame questions and choose to answer our counterparts can influence the outcome of conversations. We offer guidance for choosing the best type, tone, sequence, and framing of questions and for deciding what and how much information to share to reap the most benefit from our interactions, not just for ourselves but for our organizations.