port   4728

« earlier    

netstat - How to check opened/closed ports on my computer? - Ask Ubuntu
» netstat - How to check opened/closed ports on my computer? - Ask Ubuntu
howto  find  port  listening  nmap  lsof  netstat  listen  ack  grep  network  debugging 
3 days ago by noahsussman
Connecting to a mysql running on a Docker container · Issue #95 · docker-library/mysql
Frankly, this forum page has no consensus on a solution to this issue. Nevertheless, what worked for me on my set up with running MacOS as the Docker host and running a container with: Ubuntu 16.04 and MySQL 5.7 is the following:

1) Within the container: change in /etc/mysql/mysql.conf.d/mysqld.cnf the bind-address option from to
2) Restart MySQL server (note that whenever you start MySQL you must use this command in the Dockerfile:

RUN sed -i -e"s/^bind-address\s*=\s* =" /etc/mysql/mysql.conf.d/mysqld.cnf
RUN find /var/lib/mysql -type f -exec touch {} \; && service mysql start

That is, you must touch the files in /var/lib/mysql and then start the server with service command and not systemctl.

Next, create a user separate from root e.g. dev_1, in MySQL and given them privileges to their '' and '%' hosts. Like this in the Dockerfile:

RUN find /var/lib/mysql -type f -exec touch {} \; && service mysql start && mysql -uroot -proot mysql -e "GRANT ALL ON *.* TO root@'' IDENTIFIED BY 'secret' WITH GRANT OPTION; CREATE USER 'dev_1'@'' IDENTIFIED BY 'secret'; GRANT ALL ON *.* TO 'dev_1'@'' IDENTIFIED BY 'secret' WITH GRANT OPTION; GRANT ALL ON *.* TO 'dev_1'@'%' IDENTIFIED BY 'secret' WITH GRANT OPTION; FLUSH PRIVILEGES;"

Then when you start the container you must publish the port number like so:

docker run -t -d -p 4406:3306 ubuntu_16_04_lemp_php_7_2:latest

If your container stops prematurely, then you might want to add a CMD line in your docker file to run a start.sh script and within that script you might want to add something like this:

# stupid hack to keep container from being stopped
tail -f /dev/null

Finally, to connect to your DB instance on your local MacOS machine with an app like Sequel Pro for example, use the following credentials:

Username: dev_1
Password: <dev_1_password>
Port: 4406

If you don't like to use port 4406, try 3307, 3308, 3309.
github  forum  howto  example  troubleshoot  mysql  server  docker  host  connection  issue  sequel  pro  mariadb  client  hostname  docker-machine  ip  address  ipaddress  guide  reference  toread  tolearn  totry  tounderstand  image  port  detached  database  credentials 
6 days ago by racl101
InpOut32 is an open source windows DLL and Driver to give direct access to hardware ports (for example the parallel and serial port from user level programs. It is originally developed by the people at Logix4U for Windows 9x and 32bit variations of NT (NT/2000/XP/2003 etc.).
parallel  port  winxp 
12 days ago by cstup

« earlier    

related tags

-  1024  15  16  2  20  2018  3  3268  3269  389  4*  4  443  6  636  a  ac  accept  ack  address  adjusters  affected  afrique  agci  air  airconditioner  aix  all  and  ansible  answer  apache  apple  apps  aransas  arm  article  as  asic  at  att  attack  automation  avr  background  bangladesh  barcelona  belgium  bind  block  blocked  blocking  bloqueio  bluenoise  boat  bollore  boot  brandy  brexit  building  business  by  bypass  c  cable  callahan  catalog  cccc  ccna2  centos  charging  check  cheese  china  cisco  civil  cli  client  climate  collection  command  computer  computers  computing  conditioner  configuring  connect  connection  considered  console  container  containers  convert  cooking_oil  cord  corruption  coupling-6p07  cpu  cream  credentials  crippled  culprit.  curl  cut  cyberattack  data  database  debugging  department  depot  design  detached  dev  developers  development  devices  devops  dhcp  diego  digital  digitaldragons18  dining  diy  docker-machine  docker  documentation  domain  dory:  downloads  dust  dustport  easier  economics  ecs  electroncis  elm  eng  episode  error  eshop  esr  esxi  example  exhaust  existing  export  extender  facebook  fbi  felixstowe  find  fine  firewall  flexible  for  forum  forward  forwarding  fpm  france  freebsd  from  functions  garboard  garlic  ghent  github  global  go  goat  golang  google  grep  gui  guide  hacking  harden  hardening  hardware  hetworking  history  home  homeland  honey  hospital  host  hostname  how  howto  html  http  https  hub  identified  image  imports  in.  in  incoming  information  infrastructure  ingress  insp  insurance  interconnection  internet  investigate  io  ios  ip  ipaddress  iphone  iptables  is  isp  issue  it  jm  jobs  jquery  jrm  js  k8s  kills  lan  ldap  ldaps  least  legacy  libc  lightning  link  linux  list  listen  listener  listening  loadbalancer  login  logistics  lsof  mac  macos  macports  magufuli  make  marco  marcocivil  mariadb  marketing  mastodon  matlab  meat  messages  metrics  microsoft  miner  miter  mobile  module  mongla  mono  multiple  mysql  nc  nds  near  net  netacad  netcat  netstat  network  networking  networks  neutralidade  news  nginx  ngrep  nmap  nodejs  nodeport  noise  northseaport  ny:  of  on  open  openbsd  openshift  optimization  option  outgoing  parallel  paris  pass  pcap  pentesting  perl  permission  pf  php-fpm  php  ping  pistachios  politics  pors  port?  port-forward  port-forwarding  portability  portable  portal  portas  porto  ports  port’s  post  powershell  printing  privilege  pro  problem  problems  process  programs  prompt  protection  providers  proxmox  public  pvc  python  question  queue  range  ransomware  rebel-held  recipe  recipes  reducer  reference  removing  report:  request  responsabilitejuridique  response  resque  reuse  reverseproxy  rj11-6p  router  rubber  running  san  saw  scan  scanner  scanning  security  see  sequel  serial  server  session  setup  signal  siracha  skewers  sniff  so_reuseport  socket  software  solution  solve  some  sport  ssh  stackoverflow  static  strike  strikes  suffers  sugar  sundarbans  supercollider  support  sysadmin  systemi  systemp  systems  tanzania  targetport  task  tba  tcp  tcptraceroute  technique  terminal  test  testing  that  the  this  tiny  tips  tls  to  tobuy  tolearn  tomu  tool  toolbox  tools  toread  totalboat  totry  tounderstand  traceroute  traffic  translation  travel...  tricks  troubleshoot  truckers  tutorial  twitter  two  u.s.  ufw  unit  uprocessor  usb  usbc  utility  utils  uw  ve  venison  via  vmware  vpn  wan  war:  washington  watch  web  webdev  webserver  will  windows  windows10  wine  winxp  with  wood  working  x  yemen  your  youtube  |   

Copy this bookmark: