home.social

#localhost — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #localhost, aggregated by home.social.

  1. 502 bad gateway in magento , docker exec -it magento-php netstat -tulnp | grep 9000 not showing anything #docker #nginx #localhost #magento

    askubuntu.com/q/1566773/612

  2. Un outil pour exposer une app locale en HTTPS avec un nom de domaine (local également).

    🔗 github.com/vercel-labs/portless

    #https #localhost #dev #proxy

  3. How to be K•••••d D••s (the full guide):

    1. Deploy everything directly on localhost and call it "production"
    2. Hardcode your DB password as password123 — security is for cowards
    3. Run your app on port 3000 exposed raw to the internet, no nginx, no nothing
    4. When someone asks "where's your reverse proxy?" say "I don't need that, I'm built different"
    5. No Docker because containers are "too complicated" — just npm start in a tmux session and pray
    6. Copy-paste from Stack Overflow 2014 answers and ship it
    7. When your app goes down, blame the VPS
    8. Gatekeep other devs for not knowing things you only learnt last week
    9. Call yourself a senior developer on your LinkedIn at age 19
    10. Remove anyone from the community who actually knows what they're doing — they're a threat

    #coding #developer #programming #funny #tech #humor #code #software #webdev #security #production #localhost #javascript #devlife #relatable #system #vps #linux #sysadmin #bugs

  4. I'm still experimenting with #podman #rootless and can't find how to allow containers/pod to access #localhost

    Context: one pod with 2 #containers, one needs access to localhost. Podman is 5.4 with pasta networking.
    I tried adding "-T" or "host-gateway" options to pasta network on the pod but still no way.
    Can't to find a single complete article on how to manage networking on pods, a lot of different information

    Has anyone a solution to this problem? Is it simply possible?

    #sysadmin #linux

  5. A port on open only to one process. Can namespaces help me?

    Let's find out.

    The idea is to MitM between my IMAP server and Claws Mail. The proxy would ignore the password and instead use with a client to authenticate me (mTLS style).

    This way, there's one less to store in RAM and accidentally exfiltrate.

    As much as I like the Claws UI, it's crashy and I don't trust its a lot. anyone :P?

  6. Собственный центр сертификации под Linux

    Для тестирования, разработки и внутреннего использования часто используются самозаверенные (самоподписанные) сертификаты . Технически такой сертификат ничем не отличается от публичного, только вместо передачи на подпись в удостоверяющий центр (УЦ) пользователь создаёт свою собственную подпись. Под Linux мы можем сгенерировать сертификат командой mkcert или OpenSSL. Единственная проблема в том, что браузер не доверяет такому сертификату, поскольку он не подписан доверенным УЦ. Поэтому нужно ещё запустить и настроить собственный УЦ, который подписывает наши сертификаты — и добавить этот УЦ в список доверенных центров сертификации УЦ (или браузера).

    habr.com/ru/companies/globalsi

    #TLS #сертификаты #УЦ #удостоверяющий_центр #Smallstep #XCA #самозаверенный_сертификат #самоподписанный_сертфикат #localhost #mkcert

  7. Собственный центр сертификации под Linux

    Для тестирования, разработки и внутреннего использования часто используются самозаверенные (самоподписанные) сертификаты . Технически такой сертификат ничем не отличается от публичного, только вместо передачи на подпись в удостоверяющий центр (УЦ) пользователь создаёт свою собственную подпись. Под Linux мы можем сгенерировать сертификат командой mkcert или OpenSSL. Единственная проблема в том, что браузер не доверяет такому сертификату, поскольку он не подписан доверенным УЦ. Поэтому нужно ещё запустить и настроить собственный УЦ, который подписывает наши сертификаты — и добавить этот УЦ в список доверенных центров сертификации УЦ (или браузера).

    habr.com/ru/companies/globalsi

    #TLS #сертификаты #УЦ #удостоверяющий_центр #Smallstep #XCA #самозаверенный_сертификат #самоподписанный_сертфикат #localhost #mkcert

  8. Собственный центр сертификации под Linux

    Для тестирования, разработки и внутреннего использования часто используются самозаверенные (самоподписанные) сертификаты . Технически такой сертификат ничем не отличается от публичного, только вместо передачи на подпись в удостоверяющий центр (УЦ) пользователь создаёт свою собственную подпись. Под Linux мы можем сгенерировать сертификат командой mkcert или OpenSSL. Единственная проблема в том, что браузер не доверяет такому сертификату, поскольку он не подписан доверенным УЦ. Поэтому нужно ещё запустить и настроить собственный УЦ, который подписывает наши сертификаты — и добавить этот УЦ в список доверенных центров сертификации УЦ (или браузера).

    habr.com/ru/companies/globalsi

    #TLS #сертификаты #УЦ #удостоверяющий_центр #Smallstep #XCA #самозаверенный_сертификат #самоподписанный_сертфикат #localhost #mkcert

  9. Собственный центр сертификации под Linux

    Для тестирования, разработки и внутреннего использования часто используются самозаверенные (самоподписанные) сертификаты . Технически такой сертификат ничем не отличается от публичного, только вместо передачи на подпись в удостоверяющий центр (УЦ) пользователь создаёт свою собственную подпись. Под Linux мы можем сгенерировать сертификат командой mkcert или OpenSSL. Единственная проблема в том, что браузер не доверяет такому сертификату, поскольку он не подписан доверенным УЦ. Поэтому нужно ещё запустить и настроить собственный УЦ, который подписывает наши сертификаты — и добавить этот УЦ в список доверенных центров сертификации УЦ (или браузера).

    habr.com/ru/companies/globalsi

    #TLS #сертификаты #УЦ #удостоверяющий_центр #Smallstep #XCA #самозаверенный_сертификат #самоподписанный_сертфикат #localhost #mkcert

  10. @mWare @allanjude @ServerNorth @MagnusCatticus
    the pgadmin is a nice to have for lots of users and makes for more migration/recruitment - kudos for the devs #localhost #ported

  11. Ah yes, yet another groundbreaking tool that lets you expose your #localhost to the wild, wild #web, because who doesn't love an invitation for every #script kiddie and their dog to come knocking on your door? 🚪🤦‍♂️ "Tunnl.gg: Making #amateur #hour great again, one unsecured connection at a time!" 🌐👶
    tunnl.gg #tunneling #security #kiddies #HackerNews #ngated

  12. Ngrok sayesinde local projelerinizi hızlı ve güvenli bir şekilde canlıya alabilirsiniz.
    XAMPP entegrasyonu, proje klasörü paylaşımı ve ufak ipuçları rehberimde mevcut.
    yuceltoluyag.github.io/ngrok-k
    #WebDev #Ngrok #Localhost #PHP #DevLife

  13. Breaking localhost network functionality is an impressive achievement.

    Pushing that breakage out undetected in a general availability update of your current mainstream OS is even more impressive.

    But the real WTF is why it was even possible in the first place. Quoting The Register's coverage:

    > The bug, introduced in build 26100.6899, has been traced to HTTP.sys,
    > the Windows kernel component that handles local HTTP traffic.

    "the Windows kernel component that handles local HTTP traffic" is a phrase that has no reason to exist in the English language. I can only imagine how many security vulnerabilities having HTTP/2 in the kernel makes possible.

    #Windows #security #breakage #broken #localhost #networking #Windows11 #Microsoft #qwality #QualityWeveHeardOfIt #WeveHeardOfIt #HTTP #kernel

  14. Hello #Fediverse @academicchatter
    I need your help for a privacy-focused local-host (run offline from my computer) transcription software.

    I am (luckily?) collecting more interviews than I planned and transcribing manually is becoming a giant task, so it would really be helpful to have an automatic assistance.

    Any suggestions?

    @phdstudents

    #academia #research #AcademicMastodon #AcademicFedi #transcription #software #privacy #localhost #interviews #OralHistory #help #tips

  15. CW: #flux1dev with specific lora

    More #flux1dev generations with specific lora model and text additions.
    #localhost #aiart

  16. #webdevelopment #localhost #http #microsoft #nginx #windows11
    #llama3 #llama said:

    The behavior you're experiencing with "localhost" throwing an ERR_CONNECTION_REFUSED error, while 127.0.0.1 works fine, does sound familiar. It's possible that it's related to the Windows HTTP subsystem, which includes the Windows HTTP Server ( #WinHTTP ) and the Web Deployment Agent ( #WDA ).
    When you use "localhost", Windows uses the WinHTTP subsystem to resolve the hostname, whereas 127.0.0.1 is a direct IP address that bypasses this subsystem. This might explain why you're seeing different behavior between the two.
    Regarding the Microsoft component, it's possible that an update or installation of a Windows component, such as the Web Deployment Agent (WDA), might have caused this issue. WDA is used for web deployments and can interfere with localhost resolution. #WebDeploymentAgent

    To troubleshoot this further, you can try:

    * Check the Windows Event Viewer for any errors related to WinHTTP or WDA.
    * Run the command netsh http show servicestate to see if there are any issues with the HTTP subsystem.
    * Try disabling the Web Deployment Agent (WDA) service to see if that resolves the issue.
    * Check your Windows hosts file (typically located at C:\Windows\System32\drivers\etc\hosts) ...