By sandipmalik5
hi i am a newbie to linux . I want to open port 8080 so that my varnish cache can run on that port i have made the necessory changes in iptable and also restated iptables but my port still seems closed. your help would be really appreciated thanks in advance
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Sorry if I’m asking something obvious, but does your varnish cache listen to your external address? If it is listening to localhost, it wont answer to any request coming from another address. You could use telnet to check if varnish is listening by executing this command <br>“telnet localhost 8080” and “telnet your-ip 8080” <br>If something is listening on one of those address, it should print something like: <br>Trying ::1… <br>Connected to localhost. <br>Escape character is ‘^]’ <br>Then something is listening to this port, if it just says connection refused or timeout, it isnt listening to this port. <br>You could use nmap to determine if varnish is listening to another port. <br>“nmap localhost” or “nmap your-ip” <br>I hope this helps a little…
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.